pt.ist.fenixframework.hibernatesearch
Class HibernateSearchSupport
java.lang.Object
pt.ist.fenixframework.hibernatesearch.HibernateSearchSupport
public class HibernateSearchSupport
- extends Object
Entry point for interactions with Hibernate-Search.
This class provides a SearchFactory instance that can be used to perform searches using hibernate-search.
Method Summary |
static org.hibernate.search.engine.spi.SearchFactoryImplementor |
getSearchFactory()
Returns the SearchFactory instance. |
protected static void |
updateIndex(org.hibernate.search.backend.TransactionContext context,
Collection<DomainObject> objects,
org.hibernate.search.backend.spi.WorkType workType)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateSearchSupport
public HibernateSearchSupport()
getSearchFactory
public static org.hibernate.search.engine.spi.SearchFactoryImplementor getSearchFactory()
- Returns the SearchFactory instance. Null when HibernateSearchSupport is disabled.
updateIndex
protected static void updateIndex(org.hibernate.search.backend.TransactionContext context,
Collection<DomainObject> objects,
org.hibernate.search.backend.spi.WorkType workType)
Copyright © 2013. All Rights Reserved.