Skip to content

Commit b6c770f

Browse files
committed
Merge pull request #1077 from anshudutta/develop
Fixed the syntax of QueryRaw as it didn't work
2 parents 21385a3 + b8c6790 commit b6c770f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/contents/nest/writing-queries.markdown

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ Or if using the object initializer syntax:
2828
## Raw Strings
2929
Although not preferred, many folks like to build their own JSON strings and just pass that along:
3030

31-
.QueryRaw("\"match_all\" : { }")
32-
.FilterRaw("\"match_all\" : { }")
31+
.QueryRaw(@"{""match_all"": {} }")
32+
.FilterRaw(@"{""match_all"": {} }")
3333

3434
NEST does not modify this in anyway and just writes this straight into the JSON output.
3535

0 commit comments

Comments
 (0)