Uses of Interface
org.hibernate.search.mapper.pojo.standalone.massindexing.MassIndexer
Packages that use MassIndexer
Package
Description
-
Uses of MassIndexer in org.hibernate.search.mapper.pojo.standalone.massindexing
Methods in org.hibernate.search.mapper.pojo.standalone.massindexing that return MassIndexerModifier and TypeMethodDescriptionMassIndexer.batchSizeToLoadObjects
(int batchSize) Sets the batch size used to load the root entities.<T> MassIndexer
Sets context for use by the loading strategies.MassIndexer.dropAndCreateSchemaOnStart
(boolean dropAndCreateSchema) Drops the indexes and their schema (if they exist) and re-creates them before indexing.MassIndexer.environment
(MassIndexingEnvironment environment) Sets theMassIndexingEnvironment
, which can set up an environment (thread locals, ...) in mass indexing threads.MassIndexer.failFast
(boolean failFast) Enables the fail-fast option for this mass indexer.MassIndexer.failureFloodingThreshold
(long threshold) Sets the threshold for failures that will be reported and sent toMassIndexingFailureHandler
per indexed type.MassIndexer.failureHandler
(MassIndexingFailureHandler failureHandler) Sets theMassIndexingFailureHandler
.MassIndexer.mergeSegmentsAfterPurge
(boolean enable) Merges each index into a single segment after the initial index purge, just before indexing.MassIndexer.mergeSegmentsOnFinish
(boolean enable) Merges each index into a single segment after indexing.MassIndexer.monitor
(MassIndexingMonitor monitor) Sets theMassIndexingMonitor
.MassIndexer.purgeAllOnStart
(boolean purgeAll) Removes all entities from the indexes before indexing.MassIndexer.threadsToLoadObjects
(int numberOfThreads) Sets the number of threads to be used to load the root entities.MassIndexer.typesToIndexInParallel
(int threadsToIndexObjects) Sets the number of entity types to be indexed in parallel. -
Uses of MassIndexer in org.hibernate.search.mapper.pojo.standalone.scope
Methods in org.hibernate.search.mapper.pojo.standalone.scope that return MassIndexerModifier and TypeMethodDescriptionSearchScope.massIndexer()
Create aMassIndexer
for the indexes mapped to types in this scope, or to any of their sub-types.SearchScope.massIndexer
(Object tenantId) Create aMassIndexer
for the indexes mapped to types in this scope, or to any of their sub-types.SearchScope.massIndexer
(String tenantId) Deprecated, for removal: This API element is subject to removal in a future version.SearchScope.massIndexer
(Set<?> tenantIds) Create aMassIndexer
for the indexes mapped to types in this scope, or to any of their sub-types. -
Uses of MassIndexer in org.hibernate.search.mapper.pojo.standalone.session
Methods in org.hibernate.search.mapper.pojo.standalone.session that return MassIndexerModifier and TypeMethodDescriptiondefault MassIndexer
SearchSession.massIndexer()
Creates aMassIndexer
to rebuild the indexes of all indexed entity types.default MassIndexer
SearchSession.massIndexer
(Class<?>... classes) Creates aMassIndexer
to rebuild the indexes of indexed entity classes among the given classes and their subtypes.SearchSession.massIndexer
(Collection<? extends Class<?>> classes) Creates aMassIndexer
to rebuild the indexes mapped to the given types, or to any of their sub-types.
SearchScope.massIndexer(Object)
instead.