Package | Description |
---|---|
com.yahoo.search.federation |
The federation layer on top of the search container.
|
com.yahoo.search.handler |
The search handler, which handles search request to the Container by translating the Request into a Query, invoking the
chosen Search Chain to get a Result, which it translates to a Response which is returned to the Container.
|
com.yahoo.search.searchchain |
Classes for composition of searchers into search chains, which are executed to produce Results for Queries.
|
Modifier and Type | Method and Description |
---|---|
Collection<ForkingSearcher.CommentedSearchChain> |
FederationSearcher.getSearchChainsForwarded(SearchChainRegistry registry) |
Modifier and Type | Method and Description |
---|---|
SearchChainRegistry |
SearchHandler.getSearchChainRegistry() |
Modifier and Type | Method and Description |
---|---|
Result |
SearchHandler.searchAndFill(Query query,
com.yahoo.component.chain.Chain<? extends Searcher> searchChain,
SearchChainRegistry registry)
Used from container SDK, for internal use only
|
Modifier and Type | Method and Description |
---|---|
SearchChainRegistry |
Execution.searchChainRegistry()
Returns the search chain registry to use with this execution.
|
SearchChainRegistry |
Execution.Context.searchChainRegistry()
Returns the search chain registry to use with this execution.
|
Modifier and Type | Method and Description |
---|---|
static Execution.Context |
Execution.Context.createContextStub(SearchChainRegistry searchChainRegistry,
IndexFacts indexFacts)
Create a Context instance where only the search chain registry and index facts are
initialized.
|
static Execution.Context |
Execution.Context.createContextStub(SearchChainRegistry searchChainRegistry,
IndexFacts indexFacts,
com.yahoo.language.Linguistics linguistics)
Create a Context instance where only the search chain registry, index facts and linguistics are
initialized.
|
abstract Collection<ForkingSearcher.CommentedSearchChain> |
ForkingSearcher.getSearchChainsForwarded(SearchChainRegistry registry)
Returns which searchers this searcher may forward to, for debugging and tracing
|
Constructor and Description |
---|
Context(SearchChainRegistry searchChainRegistry,
IndexFacts indexFacts,
SpecialTokenRegistry tokenRegistry,
RendererRegistry rendererRegistry,
com.yahoo.language.Linguistics linguistics)
Creates a context from arguments, all of which may be null, though
this can be risky.
|
Copyright © 2018. All rights reserved.