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 6765679 commit 7e0d0eaCopy full SHA for 7e0d0ea
src/main/asciidoc/reference/data-elasticsearch.adoc
@@ -281,7 +281,7 @@ A list of supported keywords for Elasticsearch is shown below.
281
[source,java]
282
----
283
public interface BookRepository extends ElasticsearchRepository<Book, String> {
284
- @Query("{"bool" : {"must" : {"field" : {"name" : "?0"}}}}")
+ @Query("{\"bool\" : {\"must\" : {\"field\" : {\"name\" : \"?0\"}}}}")
285
Page<Book> findByName(String name,Pageable pageable);
286
}
287
0 commit comments