Commit b8c6790
committed
Fixed the syntax of QueryRaw as it didn't work
//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\" : { }")
);1 parent 9bd70c8 commit b8c6790
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
| 31 | + | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments