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 259c43a commit 0109a68Copy full SHA for 0109a68
src/main/asciidoc/reference/elasticsearch-operations.adoc
@@ -230,7 +230,7 @@ The following code shows a query that searches for persons having the first name
230
[source,java]
231
----
232
233
-Query query = new SearchQuery("{ \"match\": { \"firstname\": { \"query\": \"Jack\" } } } ");
+Query query = new StringQuery("{ \"match\": { \"firstname\": { \"query\": \"Jack\" } } } ");
234
SearchHits<Person> searchHits = operations.search(query, Person.class);
235
236
0 commit comments