Uses of Class
com.yahoo.search.Result
-
Packages that use Result Package Description com.yahoo.prelude.cluster Cluster monitoring for content clusters queried over fnet.com.yahoo.prelude.fastsearch com.yahoo.prelude.querytransform com.yahoo.prelude.searcher com.yahoo.prelude.semantics com.yahoo.prelude.statistics com.yahoo.search The top level classes of the search container. A Query represents the incoming request, which produces a Result by chained execution of a set of Searchers.com.yahoo.search.cluster Standard searchers to compose in source search chains (those containing searchers specific for one source and which ends with a call to some provider) which calls a cluster of provider nodes.com.yahoo.search.dispatch com.yahoo.search.dispatch.rpc com.yahoo.search.federation The federation layer on top of the search container.com.yahoo.search.federation.selection com.yahoo.search.grouping com.yahoo.search.grouping.vespa 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.match com.yahoo.search.pagetemplates com.yahoo.search.pagetemplates.engine com.yahoo.search.pagetemplates.engine.resolvers com.yahoo.search.pagetemplates.result com.yahoo.search.query.rewrite com.yahoo.search.querytransform Vespa search platform query transformation infrastructure.com.yahoo.search.rendering com.yahoo.search.result The content of a Result produced in response to a Query.com.yahoo.search.searchchain Classes for composition of searchers into search chains, which are executed to produce Results for Queries.com.yahoo.search.searchchain.example com.yahoo.search.searchchain.testutil com.yahoo.search.searchers Various useful searcherscom.yahoo.search.statistics com.yahoo.search.yql YQL+ integration.com.yahoo.vespa.streamingvisitors -
-
Uses of Result in com.yahoo.prelude.cluster
Methods in com.yahoo.prelude.cluster that return Result Modifier and Type Method Description Result
ClusterSearcher. search(Query query, Execution execution)
Methods in com.yahoo.prelude.cluster with parameters of type Result Modifier and Type Method Description void
ClusterSearcher. fill(Result result, java.lang.String summaryClass, Execution execution)
-
Uses of Result in com.yahoo.prelude.fastsearch
Methods in com.yahoo.prelude.fastsearch that return Result Modifier and Type Method Description Result
FastSearcher. doSearch2(Query query, Execution execution)
protected abstract Result
VespaBackEndSearcher. doSearch2(Query query, Execution execution)
Searches a search cluster This is an endpoint - searchers will never propagate the search to any nested searcher.Result
VespaBackEndSearcher. search(Query query, Execution execution)
Methods in com.yahoo.prelude.fastsearch with parameters of type Result Modifier and Type Method Description protected void
FastSearcher. doPartialFill(Result result, java.lang.String summaryClass)
Perform a partial docsum fill for a temporary result representing a partition of the complete fill request.protected abstract void
VespaBackEndSearcher. doPartialFill(Result result, java.lang.String summaryClass)
void
VespaBackEndSearcher. fill(Result result, java.lang.String summaryClass, Execution execution)
protected VespaBackEndSearcher.FillHitsResult
VespaBackEndSearcher. fillHits(Result result, DocsumPacket[] packets, java.lang.String summaryClass)
Fills the hits. -
Uses of Result in com.yahoo.prelude.querytransform
Methods in com.yahoo.prelude.querytransform that return Result Modifier and Type Method Description Result
CJKSearcher. search(Query query, Execution execution)
Result
CollapsePhraseSearcher. search(Query query, Execution execution)
Result
LiteralBoostSearcher. search(Query query, Execution execution)
Result
NonPhrasingSearcher. search(Query query, Execution execution)
Result
NoRankingSearcher. search(Query query, Execution execution)
Result
NormalizingSearcher. search(Query query, Execution execution)
Result
PhrasingSearcher. search(Query query, Execution execution)
Result
RecallSearcher. search(Query query, Execution execution)
Result
StemmingSearcher. search(Query query, Execution execution)
-
Uses of Result in com.yahoo.prelude.searcher
Methods in com.yahoo.prelude.searcher that return Result Modifier and Type Method Description protected Result
BlendingSearcher. blendResults(Result result, Query q, int offset, int hits, Execution execution)
Produce a single blended hit list from a group of hitgroups.Result
BlendingSearcher. search(Query query, Execution execution)
Result
FieldCollapsingSearcher. search(Query query, Execution execution)
First fetch result from the next searcher in the chain.Result
FillSearcher. search(Query query, Execution execution)
Result
JSONDebugSearcher. search(Query query, Execution execution)
Result
JuniperSearcher. search(Query query, Execution execution)
Convert Juniper style property highlighting to XML style.Result
MultipleResultsSearcher. search(Query query, Execution e)
Result
PosSearcher. search(Query query, Execution execution)
Result
QuotingSearcher. search(Query query, Execution execution)
Result
ValidatePredicateSearcher. search(Query query, Execution execution)
Result
ValidateSortingSearcher. search(Query query, Execution execution)
Methods in com.yahoo.prelude.searcher with parameters of type Result Modifier and Type Method Description protected Result
BlendingSearcher. blendResults(Result result, Query q, int offset, int hits, Execution execution)
Produce a single blended hit list from a group of hitgroups.void
BlendingSearcher. fill(Result result, java.lang.String summaryClass, Execution execution)
Fills this result by forwarding to the right chained searchersvoid
JuniperSearcher. fill(Result result, java.lang.String summaryClass, Execution execution)
-
Uses of Result in com.yahoo.prelude.semantics
Methods in com.yahoo.prelude.semantics that return Result Modifier and Type Method Description Result
SemanticSearcher. search(Query query, Execution execution)
-
Uses of Result in com.yahoo.prelude.statistics
Methods in com.yahoo.prelude.statistics that return Result Modifier and Type Method Description Result
StatisticsSearcher. search(Query query, Execution execution)
Generate statistics for the query passing through this Searcher 1) Add 1 to total query count 2) Add response time to total response time (time from entry to return) 3) ..... -
Uses of Result in com.yahoo.search
Methods in com.yahoo.search that return Result Modifier and Type Method Description Result
Result. clone()
Deep clones this result - copies are made of all hits and subgroups of hits, but not of the query referenced by this.abstract Result
Searcher. search(Query query, Execution execution)
Override this to implement your searcher.Methods in com.yahoo.search with parameters of type Result Modifier and Type Method Description void
Searcher. ensureFilled(Result result, java.lang.String summaryClass, Execution execution)
Fills the result if it is not already filled for the given summary class.void
Searcher. fill(Result result, java.lang.String summaryClass, Execution execution)
Fill hit properties with data using the given summary class.void
Result. mergeWith(Result result)
Merges meta information from a result into this.void
Result. mergeWithAfterFill(Result result)
Merges meta information produced when a Hit already contained in this result has been filled using another result as an intermediary. -
Uses of Result in com.yahoo.search.cluster
Methods in com.yahoo.search.cluster that return Result Modifier and Type Method Description protected Result
ClusterSearcher. robustSearch(Query query, Execution execution, T connection)
Call search(Query, Execution, T) and handle any exceptions returned which we do not want to propagate upwards By default this catches all runtime exceptions and puts them into the resultResult
ClusterSearcher. search(Query query, Execution execution)
protected Result
ClusterSearcher. search(Query query, Execution execution, ErrorMessage message)
This is called (instead of search(query, execution, connection) to handle searches where no (suitable) backend was available.protected abstract Result
ClusterSearcher. search(Query query, Execution execution, T connection)
Perform the search against the given connection.Methods in com.yahoo.search.cluster with parameters of type Result Modifier and Type Method Description void
ClusterSearcher. fill(Result result, java.lang.String summaryClass, Execution execution)
protected abstract void
ClusterSearcher. fill(Result result, java.lang.String summaryClass, Execution execution, T connection)
Perform the fill against the given connection.protected boolean
ClusterSearcher. shouldRetry(Query query, Result result)
Returns whether this query and result should be retried against another connection if possible. -
Uses of Result in com.yahoo.search.dispatch
Methods in com.yahoo.search.dispatch that return Result Modifier and Type Method Description Result
InvokerResult. getResult()
Result
SearchInvoker. search(Query query, Execution execution)
Retrieve the hits for the givenQuery
.Methods in com.yahoo.search.dispatch with parameters of type Result Modifier and Type Method Description abstract FillInvoker
InvokerFactory. createFillInvoker(VespaBackEndSearcher searcher, Result result)
void
FillInvoker. fill(Result result, java.lang.String summaryClass)
Retrieve document summaries for the unfilled hits in the givenResult
FillInvoker
Dispatcher. getFillInvoker(Result result, VespaBackEndSearcher searcher)
protected abstract void
FillInvoker. getFillResults(Result result, java.lang.String summaryClass)
protected abstract void
FillInvoker. sendFillRequest(Result result, java.lang.String summaryClass)
Constructors in com.yahoo.search.dispatch with parameters of type Result Constructor Description InvokerResult(Result result)
-
Uses of Result in com.yahoo.search.dispatch.rpc
Methods in com.yahoo.search.dispatch.rpc with parameters of type Result Modifier and Type Method Description FillInvoker
RpcInvokerFactory. createFillInvoker(VespaBackEndSearcher searcher, Result result)
protected void
RpcFillInvoker. getFillResults(Result result, java.lang.String summaryClass)
protected void
RpcProtobufFillInvoker. getFillResults(Result result, java.lang.String summaryClass)
protected void
RpcFillInvoker. sendFillRequest(Result result, java.lang.String summaryClass)
protected void
RpcProtobufFillInvoker. sendFillRequest(Result result, java.lang.String summaryClass)
-
Uses of Result in com.yahoo.search.federation
Methods in com.yahoo.search.federation that return Result Modifier and Type Method Description Result
FederationSearcher. search(Query query, Execution execution)
Result
ForwardingSearcher. search(Query query, Execution execution)
Methods in com.yahoo.search.federation with parameters of type Result Modifier and Type Method Description void
FederationSearcher. fill(Result result, java.lang.String summaryClass, Execution execution)
void
ForwardingSearcher. fill(Result result, java.lang.String summaryClass, Execution execution)
-
Uses of Result in com.yahoo.search.federation.selection
Methods in com.yahoo.search.federation.selection with parameters of type Result Modifier and Type Method Description void
TargetSelector. modifyTargetResult(FederationTarget<T> target, Result result)
For modifying the result produced by the target. -
Uses of Result in com.yahoo.search.grouping
Methods in com.yahoo.search.grouping that return Result Modifier and Type Method Description Result
GroupingQueryParser. search(Query query, Execution execution)
Result
GroupingValidator. search(Query query, Execution execution)
Result
UniqueGroupingSearcher. search(Query query, Execution execution)
Implements the deprecated "unique" api for deduplication by using grouping.Methods in com.yahoo.search.grouping with parameters of type Result Modifier and Type Method Description RootGroup
GroupingRequest. getResultGroup(Result result)
Returns the root resultRootGroup
that corresponds to this request. -
Uses of Result in com.yahoo.search.grouping.vespa
Methods in com.yahoo.search.grouping.vespa that return Result Modifier and Type Method Description Result
GroupingExecutor. search(Query query, Execution execution)
Methods in com.yahoo.search.grouping.vespa with parameters of type Result Modifier and Type Method Description void
GroupingExecutor. fill(Result result, java.lang.String summaryClass, Execution execution)
-
Uses of Result in com.yahoo.search.handler
Methods in com.yahoo.search.handler that return Result Modifier and Type Method Description Result
HttpSearchResponse. getResult()
Returns the result wrapped by thisResult
SearchHandler. searchAndFill(Query query, com.yahoo.component.chain.Chain<? extends Searcher> searchChain)
Used from container SDK, for internal use onlyMethods in com.yahoo.search.handler that return types with arguments of type Result Modifier and Type Method Description com.yahoo.processing.rendering.Renderer<Result>
SearchHandler. getRendererCopy(com.yahoo.component.ComponentSpecification spec)
For internal use onlyMethods in com.yahoo.search.handler with parameters of type Result Modifier and Type Method Description static com.yahoo.container.logging.HitCounts
SearchResponse. createHitCounts(Query query, Result result)
static com.yahoo.container.handler.Timing
SearchResponse. createTiming(Query query, Result result)
static com.google.common.util.concurrent.ListenableFuture<java.lang.Boolean>
HttpSearchResponse. waitableRender(Result result, Query query, com.yahoo.processing.rendering.Renderer<Result> renderer, java.io.OutputStream stream)
Method parameters in com.yahoo.search.handler with type arguments of type Result Modifier and Type Method Description static com.google.common.util.concurrent.ListenableFuture<java.lang.Boolean>
HttpSearchResponse. waitableRender(Result result, Query query, com.yahoo.processing.rendering.Renderer<Result> renderer, java.io.OutputStream stream)
Constructors in com.yahoo.search.handler with parameters of type Result Constructor Description HttpSearchResponse(int status, Result result, Query query, com.yahoo.processing.rendering.Renderer renderer)
-
Uses of Result in com.yahoo.search.match
Methods in com.yahoo.search.match that return Result Modifier and Type Method Description Result
DocumentDb. search(Query query, Execution execution)
Search this document db -
Uses of Result in com.yahoo.search.pagetemplates
Methods in com.yahoo.search.pagetemplates that return Result Modifier and Type Method Description Result
PageTemplateSearcher. search(Query query, Execution execution)
-
Uses of Result in com.yahoo.search.pagetemplates.engine
Methods in com.yahoo.search.pagetemplates.engine with parameters of type Result Modifier and Type Method Description void
Organizer. organize(Choice templateChoice, Resolution resolution, Result result)
Organizes the given resultResolution
Resolver. resolve(Choice pageTemplate, Query query, Result result)
Override this to resolve choices.void
Resolver. resolve(Choice choice, Query query, Result result, Resolution resolution)
Override this to resolve each choice independently.void
Resolver. resolve(MapChoice choice, Query query, Result result, Resolution resolution)
Override this to resolve each map choice independently. -
Uses of Result in com.yahoo.search.pagetemplates.engine.resolvers
Methods in com.yahoo.search.pagetemplates.engine.resolvers with parameters of type Result Modifier and Type Method Description void
DeterministicResolver. resolve(Choice choice, Query query, Result result, Resolution resolution)
Chooses the last alternative of any choicevoid
DeterministicResolver. resolve(MapChoice choice, Query query, Result result, Resolution resolution)
Chooses a mapping which is always by the literal order given in the source templatevoid
RandomResolver. resolve(Choice choice, Query query, Result result, Resolution resolution)
Chooses the last alternative of any choicevoid
RandomResolver. resolve(MapChoice choice, Query query, Result result, Resolution resolution)
Chooses a mapping which is always by the literal order given in the source template -
Uses of Result in com.yahoo.search.pagetemplates.result
Methods in com.yahoo.search.pagetemplates.result with parameters of type Result Modifier and Type Method Description void
PageTemplatesXmlRenderer. error(com.yahoo.text.XMLWriter writer, Result result)
-
Uses of Result in com.yahoo.search.query.rewrite
Methods in com.yahoo.search.query.rewrite that return Result Modifier and Type Method Description Result
QueryRewriteSearcher. search(Query query, Execution execution)
Perform main rewrite logics for this searcher
- Skip to next rewriter if query is previously rewritten and getSkipRewriterIfRewritten() is true for this rewriter
- Execute rewriter's main rewrite logic
- Pass to the next rewriter the query to be used for dictionary retrievalResult
SearchChainDispatcherSearcher. search(Query query, Execution execution)
Execute another search chain specified by the user
- Retrieve search chain specified by the user through param
- Execute specified search chain if exist -
Uses of Result in com.yahoo.search.querytransform
Methods in com.yahoo.search.querytransform that return Result Modifier and Type Method Description Result
BooleanSearcher. search(Query query, Execution execution)
Result
DefaultPositionSearcher. search(Query query, Execution execution)
Result
LowercasingSearcher. search(Query query, Execution execution)
Result
NGramSearcher. search(Query query, Execution execution)
Result
RangeQueryOptimizer. search(Query query, Execution execution)
Result
SortingDegrader. search(Query query, Execution execution)
Result
WandSearcher. search(Query query, Execution execution)
Methods in com.yahoo.search.querytransform with parameters of type Result Modifier and Type Method Description void
NGramSearcher. fill(Result result, java.lang.String summaryClass, Execution execution)
-
Uses of Result in com.yahoo.search.rendering
Methods in com.yahoo.search.rendering that return types with arguments of type Result Modifier and Type Method Description com.yahoo.processing.rendering.Renderer<Result>
RendererRegistry. getDefaultRenderer()
Returns the default JSON renderercom.yahoo.processing.rendering.Renderer<Result>
RendererRegistry. getRenderer(com.yahoo.component.ComponentSpecification format)
Returns the requested renderer.Methods in com.yahoo.search.rendering with parameters of type Result Modifier and Type Method Description abstract void
SectionedRenderer. beginResult(WRITER writer, Result result)
Called at the start of rendering.abstract void
SectionedRenderer. emptyResult(WRITER writer, Result result)
Called if there are no hits in the result.protected void
SyncDefaultRenderer. emptyResult(com.yahoo.text.XMLWriter writer, Result result)
protected void
XmlRenderer. emptyResult(com.yahoo.text.XMLWriter writer, Result result)
abstract void
SectionedRenderer. endResult(WRITER writer, Result result)
Called at the end of rendering.void
SyncDefaultRenderer. endResult(com.yahoo.text.XMLWriter writer, Result result)
void
SyncDefaultRenderer. error(com.yahoo.text.XMLWriter writer, Result result)
void
XmlRenderer. error(com.yahoo.text.XMLWriter writer, Result result)
java.lang.String
Renderer. getCharacterEncoding(Result result)
com.google.common.util.concurrent.ListenableFuture<java.lang.Boolean>
Renderer. render(java.io.OutputStream stream, Result response, com.yahoo.processing.execution.Execution execution, com.yahoo.processing.Request request)
Renders synchronously and returns when rendering is complete.protected abstract void
Renderer. render(java.io.Writer writer, Result result)
Renders the result to the writer.void
SectionedRenderer. render(java.io.Writer writer, Result result)
Picks apart the result and feeds it to the other methods.void
SyncDefaultRenderer. render(java.io.Writer writer, Result result)
Renders this result -
Uses of Result in com.yahoo.search.result
Constructors in com.yahoo.search.result with parameters of type Result Constructor Description HitIterator(Result result, java.util.List<Hit> hits)
-
Uses of Result in com.yahoo.search.searchchain
Methods in com.yahoo.search.searchchain that return Result Modifier and Type Method Description Result
FutureResult. get()
Returns a Result containing the hits returned from this source, or an error otherwise.Result
FutureResult. get(long timeout, java.util.concurrent.TimeUnit timeunit)
Returns a Result containing the hits returned from this source, or an error otherwise.Result
Execution. search(Query query)
Calls search on the next searcher in this chain.Methods in com.yahoo.search.searchchain that return types with arguments of type Result Modifier and Type Method Description java.util.Optional<Result>
FutureResult. getIfAvailable(long timeout, java.util.concurrent.TimeUnit timeunit)
Same as get(timeout, timeunit) but returns Optional.empty instead of a result with error if the result is not available in timestatic java.util.List<Result>
AsyncExecution. waitForAll(java.util.Collection<FutureResult> tasks, long timeoutMs)
Methods in com.yahoo.search.searchchain with parameters of type Result Modifier and Type Method Description FutureResult
AsyncExecution. fill(Result result, java.lang.String summaryClass)
The future of this functions returns the original Resultvoid
Execution. fill(Result result)
Fill hit properties with data using the default summary class, possibly overridden with the 'summary' request parameter.void
Execution. fill(Result result, java.lang.String summaryClass)
Calls fill on the next searcher in this chain.void
Execution. fillAttributes(Result result)
Fill hit properties with values from all in-memory attributes.Constructor parameters in com.yahoo.search.searchchain with type arguments of type Result Constructor Description FutureResult(java.util.concurrent.Callable<Result> callable, Execution execution, Query query)
-
Uses of Result in com.yahoo.search.searchchain.example
Methods in com.yahoo.search.searchchain.example that return Result Modifier and Type Method Description Result
ExampleSearcher. search(Query query, Execution execution)
-
Uses of Result in com.yahoo.search.searchchain.testutil
Methods in com.yahoo.search.searchchain.testutil that return Result Modifier and Type Method Description Result
DocumentSourceSearcher. search(Query query, Execution execution)
Methods in com.yahoo.search.searchchain.testutil with parameters of type Result Modifier and Type Method Description boolean
DocumentSourceSearcher. addResult(Query query, Result fullResult)
Adds a result which can be searched for and filled.void
DocumentSourceSearcher. fill(Result result, java.lang.String summaryClass, Execution execution)
-
Uses of Result in com.yahoo.search.searchers
Methods in com.yahoo.search.searchers that return Result Modifier and Type Method Description Result
CacheControlSearcher. search(Query query, Execution execution)
Result
ConnectionControlSearcher. search(Query query, Execution execution)
Result
ContainerLatencySearcher. search(Query query, Execution execution)
Result
InputCheckingSearcher. search(Query query, Execution execution)
Result
RateLimitingSearcher. search(Query query, Execution execution)
Result
ValidateMatchPhaseSearcher. search(Query query, Execution execution)
Result
ValidateNearestNeighborSearcher. search(Query query, Execution execution)
-
Uses of Result in com.yahoo.search.statistics
Methods in com.yahoo.search.statistics that return Result Modifier and Type Method Description Result
PeakQpsSearcher. search(Query query, Execution execution)
Result
TimingSearcher. search(Query query, Execution execution)
Methods in com.yahoo.search.statistics with parameters of type Result Modifier and Type Method Description void
TimingSearcher. fill(Result result, java.lang.String summaryClass, Execution execution)
void
TimeTracker. sampleFillReturn(int searcherIndex, boolean detailed, Result annotationReference)
void
TimeTracker. sampleSearchReturn(int searcherIndex, boolean detailed, Result annotationReference)
-
Uses of Result in com.yahoo.search.yql
Methods in com.yahoo.search.yql that return Result Modifier and Type Method Description Result
FieldFiller. search(Query query, Execution execution)
Result
FieldFilter. search(Query query, Execution execution)
Result
MinimalQueryInserter. search(Query query, Execution execution)
Methods in com.yahoo.search.yql with parameters of type Result Modifier and Type Method Description void
FieldFiller. fill(Result result, java.lang.String summaryClass, Execution execution)
void
FieldFilter. fill(Result result, java.lang.String summaryClass, Execution execution)
-
Uses of Result in com.yahoo.vespa.streamingvisitors
Methods in com.yahoo.vespa.streamingvisitors that return Result Modifier and Type Method Description Result
VdsStreamingSearcher. doSearch2(Query query, Execution execution)
Result
MetricsSearcher. search(Query query, Execution execution)
Methods in com.yahoo.vespa.streamingvisitors with parameters of type Result Modifier and Type Method Description protected void
VdsStreamingSearcher. doPartialFill(Result result, java.lang.String summaryClass)
-