org.hibernate.search.spi
public interface MassIndexerFactory
MassIndexer.| Modifier and Type | Method and Description |
|---|---|
MassIndexer |
createMassIndexer(SearchFactoryImplementor searchFactory,
SessionFactoryImplementor sessionFactory,
Class<?>... entities)
Create an instance of a
MassIndexer. |
void |
initialize(Properties properties)
Called after the creation of the factory, can be used to read configuration parameters.
|
void initialize(Properties properties)
properties - configuration propertiesMassIndexer createMassIndexer(SearchFactoryImplementor searchFactory, SessionFactoryImplementor sessionFactory, Class<?>... entities)
MassIndexer.searchFactory - the Hibernate Search factorysessionFactory - the Session factoryentities - the classes of the entities that are going to be indexedCopyright © 2006-2015 Red Hat, Inc. All Rights Reserved