Package | Description |
---|---|
com.yahoo.search.query.parser |
Provides access to parsing query strings into queries
|
com.yahoo.search.querytransform |
Vespa search platform query transformation infrastructure.
|
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 |
---|---|
private void |
LegacyCombinator.addAndItems(com.yahoo.language.Language language,
Query query,
Iterable<LegacyCombinator.QueryPart> pieces,
IndexFacts.Session session,
Execution.Context context) |
private void |
QueryCombinator.addAndItems(Query query,
Iterable<QueryCombinator.QueryPart> pieces,
Execution.Context context)
Deprecated.
|
private void |
LegacyCombinator.addNotItems(com.yahoo.language.Language language,
Query query,
Set<LegacyCombinator.QueryPart> pieces,
IndexFacts.Session session,
Execution.Context context) |
private void |
LegacyCombinator.addRankItems(com.yahoo.language.Language language,
Query query,
Set<LegacyCombinator.QueryPart> pieces,
IndexFacts.Session session,
Execution.Context context) |
private Item |
LegacyCombinator.parse(com.yahoo.language.Language language,
Query query,
LegacyCombinator.QueryPart part,
String defaultIndex,
Execution.Context context) |
Modifier and Type | Field and Description |
---|---|
private Execution.Context |
Execution.context
A searcher's view of state external to the search chain.
|
private Execution.Context[] |
Execution.contextCache
Array for hiding context changes done in search by searcher following
another.
|
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.
|
(package private) Execution.Context |
Execution.Context.copyIfChanged(Execution.Context previous)
This is used when building the Context stack.
|
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 |
---|---|
(package private) Execution.Context |
Execution.Context.copyIfChanged(Execution.Context previous)
This is used when building the Context stack.
|
boolean |
Execution.Context.equals(Execution.Context other) |
(package private) void |
Execution.Context.fill(Execution.Context other)
The brutal version of populateFrom().
|
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.
|
AsyncExecution(Execution.Context context,
com.yahoo.component.chain.Chain<? extends Searcher> chain) |
Execution(com.yahoo.component.chain.Chain<? extends com.yahoo.processing.Processor> searchChain,
Execution.Context context,
int searcherIndex)
Creates a new execution for a search chain or a single searcher.
|
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.