public class GenericIndexedRepository<T> extends GenericRepository<T>
| Modifier and Type | Field and Description |
|---|---|
protected org.hibernate.search.jpa.FullTextEntityManager |
fullTextEntityManager |
protected org.hibernate.search.FullTextSession |
fullTextSession |
protected JPAConfig |
jpaConfig |
entityManager, sessionTemplateFactory, transactionPool| Constructor and Description |
|---|
GenericIndexedRepository() |
GenericIndexedRepository(Class<T> cls) |
| Modifier and Type | Method and Description |
|---|---|
org.hibernate.search.jpa.FullTextEntityManager |
getFullTextEntityManager() |
org.hibernate.search.FullTextSession |
getFullTextSession() |
Collection<T> |
searchIndex(String searchString,
String... fields) |
void |
updateIndex() |
asyncDelete, asyncDelete, asyncDelete, asyncMerge, asyncMerge, asyncMerge, asyncPersist, asyncPersist, asyncPersist, asyncRefresh, asyncRefresh, asyncRefresh, asyncSave, asyncSave, asyncSave, asyncSaveOrUpdate, asyncSaveOrUpdate, asyncSaveOrUpdate, delete, getAll, getAll, getAll, getById, getByIds, getIdFieldName, getOlderVersions, getSession, getType, merge, persist, process, refresh, save, saveOrUpdate, toString@Autowired protected JPAConfig jpaConfig
protected org.hibernate.search.jpa.FullTextEntityManager fullTextEntityManager
protected org.hibernate.search.FullTextSession fullTextSession
public org.hibernate.search.jpa.FullTextEntityManager getFullTextEntityManager()
public org.hibernate.search.FullTextSession getFullTextSession()
public void updateIndex()
public Collection<T> searchIndex(String searchString, String... fields)
Copyright © 2014–2015. All rights reserved.