Uses of Class
com.yahoo.search.searchchain.Execution.Context
Packages that use Execution.Context
Package
Description
Provides access to parsing query strings into queries
Classes for composition of searchers into search chains, which are executed to produce Results for Queries.
-
Uses of Execution.Context in com.yahoo.search.query.parser
Methods in com.yahoo.search.query.parser with parameters of type Execution.ContextModifier and TypeMethodDescriptionstatic ParserEnvironment
ParserEnvironment.fromExecutionContext
(Execution.Context context) -
Uses of Execution.Context in com.yahoo.search.searchchain
Methods in com.yahoo.search.searchchain that return Execution.ContextModifier and TypeMethodDescriptionExecution.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 instance where everything except the given arguments is empty.static Execution.Context
Execution.Context.createContextStub
(IndexFacts indexFacts) Creates a Context instance where everything except the given arguments is empty.static Execution.Context
Execution.Context.createContextStub
(IndexFacts indexFacts, com.yahoo.language.Linguistics linguistics) Creates a Context instance where everything except the given arguments is empty.static Execution.Context
Execution.Context.createContextStub
(SchemaInfo schemaInfo) Creates a Context instance where everything except the given arguments is empty.static Execution.Context
Execution.Context.createContextStub
(SearchChainRegistry searchChainRegistry) Creates a Context instance where everything except the given arguments is empty.static Execution.Context
Execution.Context.createContextStub
(SearchChainRegistry searchChainRegistry, IndexFacts indexFacts) Creates a Context instance where everything except the given arguments is empty.static Execution.Context
Execution.Context.createContextStub
(SearchChainRegistry searchChainRegistry, IndexFacts indexFacts, com.yahoo.language.Linguistics linguistics) static Execution.Context
Execution.Context.createContextStub
(SearchChainRegistry searchChainRegistry, IndexFacts indexFacts, SchemaInfo schemaInfo, com.yahoo.language.Linguistics linguistics) Creates a Context instance where everything except the given arguments is empty.Execution.Context.shallowCopy()
Standard shallow copy, the new instance will carry the same references as this.Methods in com.yahoo.search.searchchain with parameters of type Execution.ContextModifier and TypeMethodDescriptionboolean
Execution.Context.equals
(Execution.Context other) void
Execution.Context.populateFrom
(Execution.Context sourceContext) Populate missing values in this from the given context.Constructors in com.yahoo.search.searchchain with parameters of type Execution.ContextModifierConstructorDescriptionAsyncExecution
(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 nothingExecution
(Searcher searcher, Execution.Context context) Creates an execution from a single searcher