mirror of
https://github.com/spring-projects/spring-data-elasticsearch.git
synced 2025-07-28 13:13:26 +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
|
Extending ElasticsearchRepository for custom methods
|
||||||
|
|
||||||
```java
|
```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" : "?"} }]} }"
|
//Equivalent Json Query will be "{ "bool" : { "must" :[{ "field" : {"name" : "?"} },{ "field" : {"price" : "?"} }]} }"
|
||||||
List<Book>; findByNameAndPrice(String name, Integer price);
|
List<Book>; findByNameAndPrice(String name, Integer price);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user