org.hibernate.search.engine.spi
Interface SearchFactoryImplementor
- All Superinterfaces:
- SearchFactory, SearchFactoryIntegrator
- All Known Subinterfaces:
- SearchFactoryImplementorWithShareableState
- All Known Implementing Classes:
- ImmutableSearchFactory, MutableSearchFactory
public interface SearchFactoryImplementor
- extends SearchFactoryIntegrator
Interface which gives access to the metadata. Intended to be used by Search components.
- Author:
- Emmanuel Bernard, Hardy Ferentschik
getIndexBindingForEntity
Map<Class<?>,EntityIndexBinder> getIndexBindingForEntity()
getDocumentBuilderContainedEntity
<T> DocumentBuilderContainedEntity<T> getDocumentBuilderContainedEntity(Class<T> entityType)
getFilterCachingStrategy
FilterCachingStrategy getFilterCachingStrategy()
getFilterDefinition
FilterDef getFilterDefinition(String name)
getIndexingStrategy
String getIndexingStrategy()
getFilterCacheBitResultsSize
int getFilterCacheBitResultsSize()
getIndexedTypesPolymorphic
Set<Class<?>> getIndexedTypesPolymorphic(Class<?>[] classes)
makeBatchBackend
BatchBackend makeBatchBackend(MassIndexerProgressMonitor progressMonitor)
isJMXEnabled
boolean isJMXEnabled()
getStatisticsImplementor
StatisticsImplementor getStatisticsImplementor()
- Retrieve the statistics implementor instance for this factory.
- Returns:
- The statistics implementor.
isDirtyChecksEnabled
boolean isDirtyChecksEnabled()
- Returns:
- true if we are allowed to inspect entity state to
potentially skip some indexing operations.
Can be disabled to get pre-3.4 behavior (always rebuild document)
getAllIndexesManager
IndexManagerHolder getAllIndexesManager()
getInstanceInitializer
InstanceInitializer getInstanceInitializer()
- Returns:
- returns an instance of
InstanceInitializer
for class/object initialization.
getTimingSource
TimingSource getTimingSource()
Copyright © 2006-2012 Red Hat Middleware, LLC. All Rights Reserved