Interface SearchBackendContext
-
- All Known Implementing Classes:
IndexManagerBackendContext
public interface SearchBackendContextAn interface with knowledge of the backend internals, able to create components related to work execution.Note this interface exists mainly to more cleanly pass information from the backend to the various search-related components. If we just passed the backend to the various search-related components, we would have a cyclic dependency. If we passed all the components held by the backend to the various search-related components, we would end up with methods with many parameters.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LuceneSearchQueryIndexScope<?>createSearchContext(BackendMappingContext mappingContext, Set<? extends LuceneScopeIndexManagerContext> indexManagerContexts)<H> LuceneSearchQueryBuilder<H>createSearchQueryBuilder(LuceneSearchQueryIndexScope<?> scope, BackendSessionContext sessionContext, SearchLoadingContextBuilder<?,?> loadingContextBuilder, LuceneSearchProjection<H> rootProjection)
-
-
-
Method Detail
-
createSearchContext
LuceneSearchQueryIndexScope<?> createSearchContext(BackendMappingContext mappingContext, Set<? extends LuceneScopeIndexManagerContext> indexManagerContexts)
-
createSearchQueryBuilder
<H> LuceneSearchQueryBuilder<H> createSearchQueryBuilder(LuceneSearchQueryIndexScope<?> scope, BackendSessionContext sessionContext, SearchLoadingContextBuilder<?,?> loadingContextBuilder, LuceneSearchProjection<H> rootProjection)
-
-