Class LuceneSearchIndexScopeImpl
java.lang.Object
org.hibernate.search.engine.backend.scope.spi.AbstractSearchIndexScope<LuceneSearchIndexScopeImpl,LuceneIndexModel,LuceneSearchIndexNodeContext,LuceneSearchIndexCompositeNodeContext>
org.hibernate.search.backend.lucene.scope.model.impl.LuceneSearchIndexScopeImpl
- All Implemented Interfaces:
LuceneSearchAggregationIndexScope<LuceneSearchIndexScopeImpl>,LuceneSearchIndexScope<LuceneSearchIndexScopeImpl>,LuceneSearchPredicateIndexScope<LuceneSearchIndexScopeImpl>,LuceneSearchProjectionIndexScope<LuceneSearchIndexScopeImpl>,LuceneSearchQueryIndexScope<LuceneSearchIndexScopeImpl>,LuceneSearchSortIndexScope<LuceneSearchIndexScopeImpl>,SearchAggregationIndexScope<LuceneSearchIndexScopeImpl>,SearchIndexScope<LuceneSearchIndexScopeImpl>,SearchPredicateIndexScope<LuceneSearchIndexScopeImpl>,SearchProjectionIndexScope<LuceneSearchIndexScopeImpl>,SearchQueryIndexScope<LuceneSearchIndexScopeImpl>,SearchSortIndexScope<LuceneSearchIndexScopeImpl>,EventContextProvider
public final class LuceneSearchIndexScopeImpl
extends AbstractSearchIndexScope<LuceneSearchIndexScopeImpl,LuceneIndexModel,LuceneSearchIndexNodeContext,LuceneSearchIndexCompositeNodeContext>
implements LuceneSearchIndexScope<LuceneSearchIndexScopeImpl>, LuceneSearchQueryIndexScope<LuceneSearchIndexScopeImpl>
-
Field Summary
Fields inherited from class org.hibernate.search.engine.backend.scope.spi.AbstractSearchIndexScope
mappingContext -
Constructor Summary
ConstructorsConstructorDescriptionLuceneSearchIndexScopeImpl(BackendMappingContext mappingContext, SearchBackendContext backendContext, LuceneAnalysisDefinitionRegistry analysisDefinitionRegistry, MultiTenancyStrategy multiTenancyStrategy, TimingSource timingSource, Set<? extends LuceneScopeIndexManagerContext> indexManagerContexts) -
Method Summary
Modifier and TypeMethodDescriptionprotected LuceneSearchIndexNodeContextcreateMultiIndexSearchObjectFieldContext(String absolutePath, List<LuceneSearchIndexNodeContext> fieldForEachIndex) protected LuceneSearchIndexCompositeNodeContextcreateMultiIndexSearchRootContext(List<LuceneSearchIndexCompositeNodeContext> rootForEachIndex) protected LuceneSearchIndexNodeContextcreateMultiIndexSearchValueFieldContext(String absolutePath, List<LuceneSearchIndexNodeContext> fieldForEachIndex) createTimeoutManager(Long timeout, TimeUnit timeUnit, boolean exceptionOnTimeout) org.apache.lucene.search.QueryfilterOrNull(String tenantId) booleanindexes()Map<String,? extends LuceneSearchIndexContext> <R,E> LuceneSearchProjectionFactory<R, E> <P> LuceneSearchQueryBuilder<P>select(BackendSessionContext sessionContext, SearchLoadingContextBuilder<?, ?> loadingContextBuilder, SearchProjection<P> projection) protected LuceneSearchIndexScopeImplself()Methods inherited from class org.hibernate.search.engine.backend.scope.spi.AbstractSearchIndexScope
child, eventContext, field, fieldQueryElement, hibernateSearchIndexNames, identifier, indexesAndRootEventContext, mappedTypeContexts, mappingContext, projectionRegistry, root, rootQueryElement, toAbsolutePath, toDocumentValueConvertContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.search.util.common.reporting.spi.EventContextProvider
eventContextMethods inherited from interface org.hibernate.search.backend.lucene.search.common.impl.LuceneSearchIndexScope
childMethods inherited from interface org.hibernate.search.engine.search.common.spi.SearchIndexScope
fieldQueryElement, hibernateSearchIndexNames, identifier, mappingContext, rootQueryElement, toAbsolutePath, toDocumentValueConvertContextMethods inherited from interface org.hibernate.search.engine.search.projection.spi.SearchProjectionIndexScope
mappedTypeContexts, projectionRegistry
-
Constructor Details
-
LuceneSearchIndexScopeImpl
public LuceneSearchIndexScopeImpl(BackendMappingContext mappingContext, SearchBackendContext backendContext, LuceneAnalysisDefinitionRegistry analysisDefinitionRegistry, MultiTenancyStrategy multiTenancyStrategy, TimingSource timingSource, Set<? extends LuceneScopeIndexManagerContext> indexManagerContexts)
-
-
Method Details
-
self
-
withRoot
- Specified by:
withRootin interfaceSearchIndexScope<LuceneSearchIndexScopeImpl>
-
predicateBuilders
- Specified by:
predicateBuildersin interfaceLuceneSearchPredicateIndexScope<LuceneSearchIndexScopeImpl>- Specified by:
predicateBuildersin interfaceSearchPredicateIndexScope<LuceneSearchIndexScopeImpl>
-
sortBuilders
- Specified by:
sortBuildersin interfaceLuceneSearchSortIndexScope<LuceneSearchIndexScopeImpl>- Specified by:
sortBuildersin interfaceSearchSortIndexScope<LuceneSearchIndexScopeImpl>
-
projectionBuilders
- Specified by:
projectionBuildersin interfaceLuceneSearchProjectionIndexScope<LuceneSearchIndexScopeImpl>- Specified by:
projectionBuildersin interfaceSearchProjectionIndexScope<LuceneSearchIndexScopeImpl>
-
aggregationBuilders
- Specified by:
aggregationBuildersin interfaceLuceneSearchAggregationIndexScope<LuceneSearchIndexScopeImpl>- Specified by:
aggregationBuildersin interfaceSearchAggregationIndexScope<LuceneSearchIndexScopeImpl>
-
select
public <P> LuceneSearchQueryBuilder<P> select(BackendSessionContext sessionContext, SearchLoadingContextBuilder<?, ?> loadingContextBuilder, SearchProjection<P> projection) - Specified by:
selectin interfaceLuceneSearchQueryIndexScope<LuceneSearchIndexScopeImpl>- Specified by:
selectin interfaceSearchQueryIndexScope<LuceneSearchIndexScopeImpl>
-
predicateFactory
- Specified by:
predicateFactoryin interfaceLuceneSearchQueryIndexScope<LuceneSearchIndexScopeImpl>- Specified by:
predicateFactoryin interfaceSearchQueryIndexScope<LuceneSearchIndexScopeImpl>
-
sortFactory
- Specified by:
sortFactoryin interfaceLuceneSearchQueryIndexScope<LuceneSearchIndexScopeImpl>- Specified by:
sortFactoryin interfaceSearchQueryIndexScope<LuceneSearchIndexScopeImpl>
-
projectionFactory
- Specified by:
projectionFactoryin interfaceLuceneSearchQueryIndexScope<LuceneSearchIndexScopeImpl>- Specified by:
projectionFactoryin interfaceSearchQueryIndexScope<LuceneSearchIndexScopeImpl>
-
aggregationFactory
- Specified by:
aggregationFactoryin interfaceLuceneSearchQueryIndexScope<LuceneSearchIndexScopeImpl>- Specified by:
aggregationFactoryin interfaceSearchQueryIndexScope<LuceneSearchIndexScopeImpl>
-
highlighterFactory
- Specified by:
highlighterFactoryin interfaceSearchQueryIndexScope<LuceneSearchIndexScopeImpl>
-
analysisDefinitionRegistry
- Specified by:
analysisDefinitionRegistryin interfaceLuceneSearchIndexScope<LuceneSearchIndexScopeImpl>
-
filterOrNull
- Specified by:
filterOrNullin interfaceLuceneSearchQueryIndexScope<LuceneSearchIndexScopeImpl>
-
createTimeoutManager
public TimeoutManager createTimeoutManager(Long timeout, TimeUnit timeUnit, boolean exceptionOnTimeout) - Specified by:
createTimeoutManagerin interfaceLuceneSearchQueryIndexScope<LuceneSearchIndexScopeImpl>
-
indexes
- Specified by:
indexesin interfaceLuceneSearchQueryIndexScope<LuceneSearchIndexScopeImpl>
-
mappedTypeNameToIndex
- Specified by:
mappedTypeNameToIndexin interfaceLuceneSearchQueryIndexScope<LuceneSearchIndexScopeImpl>
-
hasNestedDocuments
public boolean hasNestedDocuments()- Specified by:
hasNestedDocumentsin interfaceLuceneSearchQueryIndexScope<LuceneSearchIndexScopeImpl>
-
createMultiIndexSearchRootContext
protected LuceneSearchIndexCompositeNodeContext createMultiIndexSearchRootContext(List<LuceneSearchIndexCompositeNodeContext> rootForEachIndex) -
createMultiIndexSearchValueFieldContext
protected LuceneSearchIndexNodeContext createMultiIndexSearchValueFieldContext(String absolutePath, List<LuceneSearchIndexNodeContext> fieldForEachIndex) -
createMultiIndexSearchObjectFieldContext
protected LuceneSearchIndexNodeContext createMultiIndexSearchObjectFieldContext(String absolutePath, List<LuceneSearchIndexNodeContext> fieldForEachIndex)
-