diff --git a/README.md b/README.md index a1d56f6f..0dc6676d 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ The ElasticsearchCrudRepository extends PagingAndSortingRepository Extending ElasticsearchRepository for custom methods ```java - public interface BookRepository extends Repository<Book, String> { + public interface BookRepository extends Repositor { //Equivalent Json Query will be "{ "bool" : { "must" :[{ "field" : {"name" : "?"} },{ "field" : {"price" : "?"} }]} }" List; findByNameAndPrice(String name, Integer price);