Uses of Interface
org.hibernate.search.mapper.orm.massindexing.MassIndexer
-
Packages that use MassIndexer Package Description org.hibernate.search.mapper.orm.massindexing org.hibernate.search.mapper.orm.scope org.hibernate.search.mapper.orm.session -
-
Uses of MassIndexer in org.hibernate.search.mapper.orm.massindexing
Methods in org.hibernate.search.mapper.orm.massindexing that return MassIndexer Modifier and Type Method Description MassIndexer
MassIndexer. batchSizeToLoadObjects(int batchSize)
Sets the batch size used to load the root entities.MassIndexer
MassIndexer. cacheMode(CacheMode cacheMode)
Sets the cache interaction mode for the data loading tasks.MassIndexer
MassIndexer. dropAndCreateSchemaOnStart(boolean dropAndCreateSchema)
Drops the indexes and their schema (if they exist) and re-creates them before indexing.MassIndexer
MassIndexer. failureHandler(MassIndexingFailureHandler failureHandler)
Sets theMassIndexingFailureHandler
.MassIndexer
MassIndexer. idFetchSize(int idFetchSize)
Specifies the fetch size to be used when loading primary keys if objects to be indexed.MassIndexer
MassIndexer. limitIndexedObjectsTo(long maximum)
Stops indexing after having indexed a set amount of objects.MassIndexer
MassIndexer. mergeSegmentsAfterPurge(boolean enable)
Merges each index into a single segment after the initial index purge, just before indexing.MassIndexer
MassIndexer. mergeSegmentsOnFinish(boolean enable)
Merges each index into a single segment after indexing.MassIndexer
MassIndexer. monitor(MassIndexingMonitor monitor)
Sets theMassIndexingMonitor
.MassIndexer
MassIndexer. purgeAllOnStart(boolean purgeAll)
Removes all entities from the indexes before indexing.MassIndexer
MassIndexer. threadsToLoadObjects(int numberOfThreads)
Sets the number of threads to be used to load the root entities.MassIndexer
MassIndexer. transactionTimeout(int timeoutInSeconds)
Timeout of transactions for loading ids and entities to be re-indexed.MassIndexer
MassIndexer. typesToIndexInParallel(int threadsToIndexObjects)
Sets the number of entity types to be indexed in parallel. -
Uses of MassIndexer in org.hibernate.search.mapper.orm.scope
Methods in org.hibernate.search.mapper.orm.scope that return MassIndexer Modifier and Type Method Description MassIndexer
SearchScope. massIndexer()
Create aMassIndexer
for the indexes mapped to types in this scope, or to any of their sub-types.MassIndexer
SearchScope. massIndexer(String tenantId)
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.orm.session
Methods in org.hibernate.search.mapper.orm.session that return MassIndexer Modifier and Type Method Description default MassIndexer
SearchSession. massIndexer()
Creates aMassIndexer
to rebuild the indexes of all indexed entity types.default MassIndexer
SearchSession. massIndexer(Class<?>... types)
Creates aMassIndexer
to rebuild the indexes mapped to the given types, or to any of their sub-types.MassIndexer
SearchSession. massIndexer(Collection<? extends Class<?>> types)
Creates aMassIndexer
to rebuild the indexes mapped to the given types, or to any of their sub-types.
-