Update README.md

TYPO
This commit is contained in:
mohsinh 2013-02-01 15:59:28 +00:00
parent 92a18bd0fb
commit a1dc452c4b

View File

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