Update README.md

HTML encoding not needed
This commit is contained in:
Chris McKee 2013-01-28 17:05:17 +00:00
parent 7d187635a9
commit 592a31e7c4

View File

@ -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<Book, String> {
//Equivalent Json Query will be "{ "bool" : { "must" :[{ "field" : {"name" : "?"} },{ "field" : {"price" : "?"} }]} }"
List<Book>; findByNameAndPrice(String name, Integer price);