Interface ElasticsearchRepository<T,ID>
- Type Parameters:
T
-ID
-
- All Superinterfaces:
CrudRepository<T,
,ID> PagingAndSortingRepository<T,
,ID> Repository<T,
ID>
- All Known Implementing Classes:
SimpleElasticsearchRepository
@NoRepositoryBean
public interface ElasticsearchRepository<T,ID>
extends PagingAndSortingRepository<T,ID>, CrudRepository<T,ID>
- Author:
- Rizwan Idrees, Mohsin Husen, Sascha Woo, Murali Chevuri, Peter-Josef Meisch
-
Method Summary
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, save, saveAll
Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll, findAll
-
Method Details
-
searchSimilar
Search for similar entities using a morelikethis query- Parameters:
entity
- the entity for which similar documents should be searched, must not be nullfields
-pageable
- , must not be null- Returns:
-