public interface ExtendedSearchIntegrator extends SearchIntegrator
addClasses, buildQueryBuilder, close, createHSQuery, createHSQuery, createRemoteOperationDispatcher, getAnalyzer, getAnalyzer, getDefaultTimeoutExceptionFactory, getErrorHandler, getIndexBinding, getIndexBindings, getIndexedTypeDescriptor, getIndexedTypeIdentifiers, getIndexingMode, getIndexManager, getIndexReaderAccessor, getServiceManager, getStatistics, getWorker, getWorkSerializer, isStopped, makeBatchBackend, optimize, optimize, unwrap
DocumentBuilderContainedEntity getDocumentBuilderContainedEntity(IndexedTypeIdentifier entityType)
FilterCachingStrategy getFilterCachingStrategy()
int getFilterCacheBitResultsSize()
IndexedTypeSet getConfiguredTypesPolymorphic(IndexedTypeSet types)
"Configured" types are types that Hibernate Search was instructed to take into consideration,
i.e. types returned by SearchConfiguration.getClassMappings()
.
types
- IndexedTypeSet getIndexedTypesPolymorphic(IndexedTypeSet types)
"Configured" types are types that Hibernate Search was instructed to take into consideration,
i.e. types returned by SearchConfiguration.getClassMappings()
.
"Indexed" types are configured types that happened to be annotated with @Indexed
,
or similarly configured through a programmatic mapping.
Note: the fact that a given type is configured or indexed doesn't mean that its subtypes are, too. Each type must be configured explicitly.
types
- the target setboolean isJMXEnabled()
true
if JMX is enabledStatisticsImplementor getStatisticsImplementor()
boolean isDirtyChecksEnabled()
true
if we are allowed to inspect entity state to skip some indexing operations.
Can be disabled to get pre-3.4 behavior which always rebuilds the document.IndexManagerHolder getIndexManagerHolder()
IndexManagerHolder
which gives access to all index managers known to this factoryInstanceInitializer getInstanceInitializer()
InstanceInitializer
for class/object initialization.TimingSource getTimingSource()
Properties getConfigurationProperties()
DatabaseRetrievalMethod getDefaultDatabaseRetrievalMethod()
DatabaseRetrievalMethod
.
This is either the system default or the default specified via the configuration property
Environment.DATABASE_RETRIEVAL_METHOD
.DatabaseRetrievalMethod
.ObjectLookupMethod getDefaultObjectLookupMethod()
ObjectLookupMethod
.
This is either the system default or the default specified via the configuration property
Environment.OBJECT_LOOKUP_METHOD
.OBJECT_LOOKUP_METHOD
.boolean isIndexUninvertingAllowed()
Map<IndexManagerType,SearchIntegration> getIntegrations()
SearchIntegration getIntegration(IndexManagerType indexManagerType)
indexManagerType
- the index manager type for which to retrieve the integrationSearchException
- if the index manager type is unknownScopedAnalyzerReference getAnalyzerReference(IndexedTypeIdentifier type)
type
- The type for which to retrieve the analyzer.IllegalArgumentException
- in case type == null
or the specified
type is not an indexed entity.Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved