We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 823402c commit 9c4f1a1Copy full SHA for 9c4f1a1
docs/getting-started.asciidoc
@@ -106,7 +106,19 @@ This is how you can create a single match query with the .NET client:
106
107
[source,net]
108
----
109
-
+var response = await client.SearchAsync<MyDoc>(s => s
110
+ .Index("my_index")
111
+ .From(0)
112
+ .Size(10)
113
+ .Query(q => q
114
+ .Term(t => t.User, "flobernd")
115
+ )
116
+);
117
+
118
+if (response.IsValidResponse)
119
+{
120
+ var doc = response.Documents.FirstOrDefault();
121
+}
122
123
124
0 commit comments