mirror of
https://github.com/spring-projects/spring-data-elasticsearch.git
synced 2025-05-31 09:12:11 +00:00
Update README.md
TYPO
This commit is contained in:
parent
92a18bd0fb
commit
a1dc452c4b
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user