public interface MassIndexerFactory
MassIndexer
.Modifier and Type | Field and Description |
---|---|
static String |
MASS_INDEXER_FACTORY_CLASSNAME |
Modifier and Type | Method and Description |
---|---|
MassIndexer |
createMassIndexer(org.hibernate.search.spi.SearchIntegrator searchIntegrator,
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.
|
static final String MASS_INDEXER_FACTORY_CLASSNAME
void initialize(Properties properties)
properties
- configuration propertiesMassIndexer createMassIndexer(org.hibernate.search.spi.SearchIntegrator searchIntegrator, SessionFactoryImplementor sessionFactory, Class<?>... entities)
MassIndexer
.searchIntegrator
- the Hibernate Search factorysessionFactory
- the Session
factoryentities
- the classes of the entities that are going to be indexedMassIndexer
Copyright © 2017 JBoss by Red Hat. All rights reserved.