public abstract class IndexSearcher<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected GenericIndexedRepository<T> |
repository |
protected RepositoryHolder |
repositoryHolder |
| Constructor and Description |
|---|
IndexSearcher(GenericIndexedRepository<T> repository) |
| Modifier and Type | Method and Description |
|---|---|
Class<T> |
getType() |
protected Stream<T> |
search(Function<org.hibernate.search.jpa.FullTextEntityManager,Stream<T>> func) |
protected Stream<T> |
searchWithSession(Function<org.hibernate.search.FullTextSession,Stream<T>> func) |
@Autowired protected RepositoryHolder repositoryHolder
protected GenericIndexedRepository<T> repository
public IndexSearcher(GenericIndexedRepository<T> repository)
Copyright © 2014–2015. All rights reserved.