From 6e57235fa940f011b1c7b5091684beef6ee7317e Mon Sep 17 00:00:00 2001 From: Mohsin Husen Date: Fri, 5 Apr 2013 12:23:13 +0200 Subject: [PATCH] Update README.md --- README.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/README.md b/README.md index bb71a570d..9e8f38ec1 100644 --- a/README.md +++ b/README.md @@ -57,12 +57,6 @@ Extending ElasticsearchRepository for custom methods ```java public interface BookRepository extends Repository { - //Equivalent Json Query will be "{ "bool" : { "must" :[{ "field" : {"name" : "?"} },{ "field" : {"price" : "?"} }]} }" - List; findByNameAndPrice(String name, Integer price); - - //Equivalent Json Query will be "{"bool" : {"should" : [ {"field" : "name" : "?"}}, {"field" : {"price" : "?"}} ]}}" - List findByNameOrPrice(String name, Integer price); - //Equivalent Json Query will be "{"bool" : {"must" : {"field" : {"name" : "?"}}}}" Page findByName(String name,Pageable page);