public interface MassIndexerFactory
MassIndexer
.Modifier and Type | Method and Description |
---|---|
MassIndexer |
createMassIndexer(org.hibernate.search.engine.spi.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(org.hibernate.search.engine.spi.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 © 2018 JBoss by Red Hat. All rights reserved.