Class IndexManagerBackendContext
- java.lang.Object
-
- org.hibernate.search.backend.lucene.index.impl.IndexManagerBackendContext
-
- All Implemented Interfaces:
SearchBackendContext,WorkExecutionBackendContext
public class IndexManagerBackendContext extends Object implements WorkExecutionBackendContext, SearchBackendContext
-
-
Constructor Summary
Constructors Constructor Description IndexManagerBackendContext(LuceneBackend backendAPI, EventContext eventContext, BackendThreads threads, org.apache.lucene.search.similarities.Similarity similarity, LuceneWorkFactory workFactory, MultiTenancyStrategy multiTenancyStrategy, LuceneIdReaderWriter idReaderWriter, TimingSource timingSource, LuceneAnalysisDefinitionRegistry analysisDefinitionRegistry, FailureHandler failureHandler, LuceneSyncWorkOrchestrator readOrchestrator)
-
Method Summary
-
-
-
Constructor Detail
-
IndexManagerBackendContext
public IndexManagerBackendContext(LuceneBackend backendAPI, EventContext eventContext, BackendThreads threads, org.apache.lucene.search.similarities.Similarity similarity, LuceneWorkFactory workFactory, MultiTenancyStrategy multiTenancyStrategy, LuceneIdReaderWriter idReaderWriter, TimingSource timingSource, LuceneAnalysisDefinitionRegistry analysisDefinitionRegistry, FailureHandler failureHandler, LuceneSyncWorkOrchestrator readOrchestrator)
-
-
Method Detail
-
createIndexingPlan
public IndexIndexingPlan createIndexingPlan(WorkExecutionIndexManagerContext indexManagerContext, LuceneIndexEntryFactory indexEntryFactory, BackendSessionContext sessionContext, DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy)
- Specified by:
createIndexingPlanin interfaceWorkExecutionBackendContext
-
createIndexer
public IndexIndexer createIndexer(WorkExecutionIndexManagerContext indexManagerContext, LuceneIndexEntryFactory indexEntryFactory, BackendSessionContext sessionContext)
- Specified by:
createIndexerin interfaceWorkExecutionBackendContext
-
createWorkspace
public IndexWorkspace createWorkspace(WorkExecutionIndexManagerContext indexManagerContext, Set<String> tenantIds)
- Specified by:
createWorkspacein interfaceWorkExecutionBackendContext
-
createSearchContext
public LuceneSearchQueryIndexScope<?> createSearchContext(BackendMappingContext mappingContext, Set<? extends LuceneScopeIndexManagerContext> indexManagerContexts)
- Specified by:
createSearchContextin interfaceSearchBackendContext
-
createSearchQueryBuilder
public <H> LuceneSearchQueryBuilder<H> createSearchQueryBuilder(LuceneSearchQueryIndexScope<?> scope, BackendSessionContext sessionContext, SearchLoadingContextBuilder<?,?> loadingContextBuilder, LuceneSearchProjection<H> rootProjection)
- Specified by:
createSearchQueryBuilderin interfaceSearchBackendContext
-
-