Package | Description |
---|---|
org.hibernate.search.mapper.orm.jpa | |
org.hibernate.search.mapper.orm.massindexing |
Modifier and Type | Method and Description |
---|---|
MassIndexer |
FullTextEntityManager.createIndexer(Class<?>... types) |
Modifier and Type | Method and 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.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.purgeAllOnStart(boolean purgeAll)
If all entities should be removed from the index before starting
using purgeAll.
|
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.
|
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.