Package | Description |
---|---|
com.yahoo.search.query.parser |
Provides access to parsing query strings into queries
|
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 |
---|---|
static ParserEnvironment |
ParserEnvironment.fromExecutionContext(Execution.Context context) |
Modifier and Type | Method and Description |
---|---|
Execution.Context |
Execution.context()
Returns the context of this execution, which contains various objects
which are looked up through a memory barrier at the point this is created
and which is guaranteed to be frozen during the execution of this query.
|
static Execution.Context |
Execution.Context.createContextStub()
Creates a context stub with no information.
|
static Execution.Context |
Execution.Context.createContextStub(IndexFacts indexFacts)
Create a Context instance where only the index related settings are
initialized.
|
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.
|
Execution.Context |
Execution.Context.shallowCopy()
Standard shallow copy, the new instance will carry the same
references as this.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Execution.Context.equals(Execution.Context other) |
void |
Execution.Context.populateFrom(Execution.Context sourceContext)
Populate missing values in this from the given context.
|
Constructor and Description |
---|
AsyncExecution(com.yahoo.component.chain.Chain<? extends Searcher> chain,
Execution.Context context)
Creates an async execution.
|
Execution(com.yahoo.component.chain.Chain<? extends Searcher> searchChain,
Execution.Context context)
The usually best way of creating a new execution for a search chain.
|
Execution(Execution.Context context)
Creates an which executes nothing
|
Execution(Searcher searcher,
Execution.Context context)
Creates an execution from a single searcher
|
Copyright © 2018. All rights reserved.