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 MassIndexerMassIndexer. batchSizeToLoadObjects(int batchSize)Sets the batch size used to load the root entities.MassIndexerMassIndexer. cacheMode(CacheMode cacheMode)Sets the cache interaction mode for the data loading tasks.MassIndexerMassIndexer. dropAndCreateSchemaOnStart(boolean dropAndCreateSchema)Drops the indexes and their schema (if they exist) and re-creates them before indexing.MassIndexerMassIndexer. failureHandler(MassIndexingFailureHandler failureHandler)Sets theMassIndexingFailureHandler.MassIndexerMassIndexer. idFetchSize(int idFetchSize)Specifies the fetch size to be used when loading primary keys if objects to be indexed.MassIndexerMassIndexer. limitIndexedObjectsTo(long maximum)Stops indexing after having indexed a set amount of objects.MassIndexerMassIndexer. mergeSegmentsAfterPurge(boolean enable)Merges each index into a single segment after the initial index purge, just before indexing.MassIndexerMassIndexer. mergeSegmentsOnFinish(boolean enable)Merges each index into a single segment after indexing.MassIndexerMassIndexer. monitor(MassIndexingMonitor monitor)Sets theMassIndexingMonitor.MassIndexerMassIndexer. purgeAllOnStart(boolean purgeAll)Removes all entities from the indexes before indexing.MassIndexerMassIndexer. threadsToLoadObjects(int numberOfThreads)Sets the number of threads to be used to load the root entities.MassIndexerMassIndexer. transactionTimeout(int timeoutInSeconds)Timeout of transactions for loading ids and entities to be re-indexed.MassIndexerMassIndexer. 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 MassIndexerSearchScope. massIndexer()Create aMassIndexerfor the indexes mapped to types in this scope, or to any of their sub-types.MassIndexerSearchScope. massIndexer(String tenantId)Create aMassIndexerfor 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 MassIndexerSearchSession. massIndexer()Creates aMassIndexerto rebuild the indexes of all indexed entity types.default MassIndexerSearchSession. massIndexer(Class<?>... types)Creates aMassIndexerto rebuild the indexes mapped to the given types, or to any of their sub-types.MassIndexerSearchSession. massIndexer(Collection<? extends Class<?>> types)Creates aMassIndexerto rebuild the indexes mapped to the given types, or to any of their sub-types.
-