Package | Description |
---|---|
com.yahoo.search.debug | |
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 | Field and Description |
---|---|
private SearchChainRegistry |
SearchChainTextRepresentation.searchChainRegistry |
Modifier and Type | Method and Description |
---|---|
private SearchChain |
OutputSearchChain.getSearchChain(SearchChainRegistry registry,
String searchChainName) |
Constructor and Description |
---|
SearchChainTextRepresentation(SearchChain searchChain,
SearchChainRegistry searchChainRegistry) |
Modifier and Type | Method and Description |
---|---|
private ForkingSearcher.CommentedSearchChain |
FederationSearcher.commentedSearchChain(SingleTarget singleTarget,
SearchChainRegistry registry) |
private List<ForkingSearcher.CommentedSearchChain> |
FederationSearcher.commentedSourceProviderSearchChains(SourcesTarget sourcesTarget,
SearchChainRegistry registry) |
Collection<ForkingSearcher.CommentedSearchChain> |
FederationSearcher.getSearchChainsForwarded(SearchChainRegistry registry) |
private com.yahoo.errorhandling.Results<FederationSearcher.Target,ErrorMessage> |
FederationSearcher.resolveSearchChains(Collection<SearchChainInvocationSpec> prunedTargets,
SearchChainRegistry registry) |
Modifier and Type | Field and Description |
---|---|
private SearchChainRegistry |
SearchHandler.searchChainRegistry |
Modifier and Type | Method and Description |
---|---|
SearchChainRegistry |
SearchHandler.getSearchChainRegistry() |
Modifier and Type | Method and Description |
---|---|
private Result |
SearchHandler.search(String request,
Query query,
com.yahoo.component.chain.Chain<Searcher> searchChain,
SearchChainRegistry registry) |
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 | Field and Description |
---|---|
private SearchChainRegistry |
Execution.Context.searchChainRegistry
The search chain registry current when this execution was created, or
when the registry was first accessed, or null if it was not set on
creation or has been accessed yet.
|
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.