diff --git a/README.md b/README.md index 0dc6676d..3bb79219 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 Repositor { + public interface BookRepository extends Repository { //Equivalent Json Query will be "{ "bool" : { "must" :[{ "field" : {"name" : "?"} },{ "field" : {"price" : "?"} }]} }" List; findByNameAndPrice(String name, Integer price);