Package | Description |
---|---|
org.hibernate.search | |
org.hibernate.search.batchindexing.spi | |
org.hibernate.search.jpa |
Modifier and Type | Method and Description |
---|---|
MassIndexer |
MassIndexer.batchSizeToLoadObjects(int batchSize)
Sets the batch size used to load the root entities.
|
MassIndexer |
MassIndexer.cacheMode(org.hibernate.CacheMode cacheMode)
Sets the cache interaction mode for the data loading tasks.
|
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)
EXPERIMENTAL method: will probably change
Will stop indexing after having indexed a set amount of objects.
|
MassIndexer |
MassIndexer.optimizeAfterPurge(boolean optimize)
If index optimization should be run before starting,
after the purgeAll.
|
MassIndexer |
MassIndexer.optimizeOnFinish(boolean optimize)
If index optimization has to be started at the end of the indexing process.
|
MassIndexer |
MassIndexer.progressMonitor(MassIndexerProgressMonitor monitor)
Override the default
MassIndexerProgressMonitor . |
MassIndexer |
MassIndexer.purgeAllOnStart(boolean purgeAll)
If all entities should be removed from the index before starting
using purgeAll.
|
MassIndexer |
MassIndexer.threadsForSubsequentFetching(int numberOfThreads)
Deprecated.
Being ignored: this method will be removed.
|
MassIndexer |
MassIndexer.threadsToLoadObjects(int numberOfThreads)
Set 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.
|
Modifier and Type | Interface and Description |
---|---|
interface |
MassIndexerWithTenant
A
MassIndexer that can be assigned to a tenant in architectures with multi-tenancy. |
Modifier and Type | Method and Description |
---|---|
MassIndexer |
MassIndexerFactory.createMassIndexer(SearchIntegrator searchIntegrator,
org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory,
Class<?>... entities)
Create an instance of a
MassIndexer . |
Modifier and Type | Method and Description |
---|---|
MassIndexer |
FullTextEntityManager.createIndexer(Class<?>... types)
Creates a MassIndexer to rebuild the indexes of some
or all indexed entity types.
|
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.