You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//When I try this
var response = client.Search(func);
//This worked if the definition of func was
Func<SearchDescriptor<dynamic>, SearchDescriptor<dynamic>> func = s => s
.AllTypes()
.From(0)
.Size(5)
.QueryRaw(@"{""match_all"": {} }")
;
//This didn't work if the definition of func was
Func<SearchDescriptor<dynamic>, SearchDescriptor<dynamic>> func = s => s
.AllTypes()
.From(0)
.Size(10)
.QueryRaw("\"match_all\" : { }")
);
0 commit comments