## Uses of Interface
org.hibernate.search.MassIndexer

- Packages that use MassIndexer
  Package | Description
  --- | ---
  org.hibernate.search |
  org.hibernate.search.batchindexing.impl |
  org.hibernate.search.batchindexing.spi |
  org.hibernate.search.jpa |

- - ### Uses of MassIndexer in org.hibernate.search

    Methods in org.hibernate.search that return MassIndexer
    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.`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.

  - ### Uses of MassIndexer in org.hibernate.search.batchindexing.impl

    Classes in org.hibernate.search.batchindexing.impl that implement MassIndexer
    Modifier and Type | Class and Description
    --- | ---
    `class` | `MassIndexerImpl` Prepares and configures a BatchIndexingWorkspace to start rebuilding the indexes for all entity instances in the database.

    Methods in org.hibernate.search.batchindexing.impl that return MassIndexer
    Modifier and Type | Method and Description
    --- | ---
    `MassIndexer` | MassIndexerImpl.`batchSizeToLoadObjects(int batchSize)`
    `MassIndexer` | MassIndexerImpl.`cacheMode(CacheMode cacheMode)`
    `MassIndexer` | DefaultMassIndexerFactory.`createMassIndexer(SearchIntegrator searchIntegrator, SessionFactoryImplementor sessionFactory, Class<?>... entities)`
    `MassIndexer` | MassIndexerImpl.`idFetchSize(int idFetchSize)`
    `MassIndexer` | MassIndexerImpl.`limitIndexedObjectsTo(long maximum)`
    `MassIndexer` | MassIndexerImpl.`optimizeAfterPurge(boolean optimize)`
    `MassIndexer` | MassIndexerImpl.`optimizeOnFinish(boolean optimize)`
    `MassIndexer` | MassIndexerImpl.`progressMonitor(MassIndexerProgressMonitor monitor)`
    `MassIndexer` | MassIndexerImpl.`purgeAllOnStart(boolean purgeAll)`
    `MassIndexer` | MassIndexerImpl.`threadsForSubsequentFetching(int numberOfThreads)` Deprecated.
    `MassIndexer` | MassIndexerImpl.`threadsToLoadObjects(int numberOfThreads)`
    `MassIndexer` | MassIndexerImpl.`transactionTimeout(int timeoutInSeconds)`
    `MassIndexer` | MassIndexerImpl.`typesToIndexInParallel(int numberOfThreads)`

  - ### Uses of MassIndexer in org.hibernate.search.batchindexing.spi

    Subinterfaces of MassIndexer in org.hibernate.search.batchindexing.spi
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `MassIndexerWithTenant` A `MassIndexer` that can be assigned to a tenant in architectures with multi-tenancy.

    Methods in org.hibernate.search.batchindexing.spi that return MassIndexer
    Modifier and Type | Method and Description
    --- | ---
    `MassIndexer` | MassIndexerFactory.`createMassIndexer(SearchIntegrator searchIntegrator, SessionFactoryImplementor sessionFactory, Class<?>... entities)` Create an instance of a `MassIndexer`.

  - ### Uses of MassIndexer in org.hibernate.search.jpa

    Methods in org.hibernate.search.jpa that return 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-2017 Red Hat, Inc. All Rights Reserved