Uses of Class
com.yahoo.search.Result
Packages that use Result
Package
Description
Cluster monitoring for content clusters queried over fnet.
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.
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.
The federation layer on top of the search container.
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.
Vespa search platform query transformation infrastructure.
The content of a Result produced in response to a Query.
Classes for composition of searchers into search chains, which are executed to produce Results for Queries.
Various useful searchers
YQL+ integration.
-
Uses of Result in com.yahoo.prelude.cluster
Methods in com.yahoo.prelude.cluster that return ResultModifier and TypeMethodDescriptionMethods in com.yahoo.prelude.cluster with parameters of type Result -
Uses of Result in com.yahoo.prelude.fastsearch
Methods in com.yahoo.prelude.fastsearch that return ResultModifier and TypeMethodDescriptionprotected abstract Result
Searches a search cluster This is an endpoint - searchers will never propagate the search to any nested searcher.Methods in com.yahoo.prelude.fastsearch with parameters of type ResultModifier and TypeMethodDescriptionprotected void
FastSearcher.doPartialFill
(Result result, 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, String summaryClass) void
protected VespaBackEndSearcher.FillHitsResult
VespaBackEndSearcher.fillHits
(Result result, DocsumPacket[] packets, String summaryClass) Fills the hits. -
Uses of Result in com.yahoo.prelude.querytransform
Methods in com.yahoo.prelude.querytransform that return ResultModifier and TypeMethodDescription -
Uses of Result in com.yahoo.prelude.searcher
Methods in com.yahoo.prelude.searcher that return ResultModifier and TypeMethodDescriptionprotected Result
BlendingSearcher.blendResults
(Result result, Query q, int offset, int hits, Execution execution) Produce a single blended hit list from a group of hitgroups.First fetch result from the next searcher in the chain.Convert Juniper style property highlighting to XML style.Methods in com.yahoo.prelude.searcher with parameters of type ResultModifier and TypeMethodDescriptionprotected 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
Fills this result by forwarding to the right chained searchersvoid
-
Uses of Result in com.yahoo.prelude.semantics
Methods in com.yahoo.prelude.semantics that return Result -
Uses of Result in com.yahoo.prelude.statistics
Methods in com.yahoo.prelude.statistics that return Result -
Uses of Result in com.yahoo.search
Methods in com.yahoo.search that return ResultModifier and TypeMethodDescriptionResult.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
Override this to implement your searcher.Methods in com.yahoo.search with parameters of type ResultModifier and TypeMethodDescriptionfinal void
Searcher.ensureFilled
(Result result, String summaryClass, Execution execution) Fills the result if it is not already filled for the given summary class.void
Fill hit properties with data using the given summary class.void
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 ResultModifier and TypeMethodDescriptionprotected 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 resultfinal Result
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
Perform the search against the given connection.Methods in com.yahoo.search.cluster with parameters of type ResultModifier and TypeMethodDescriptionfinal void
protected abstract void
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 ResultModifier and TypeMethodDescriptionInvokerResult.getResult()
Retrieve the hits for the givenQuery
.Methods in com.yahoo.search.dispatch with parameters of type ResultModifier and TypeMethodDescriptionabstract FillInvoker
InvokerFactory.createFillInvoker
(VespaBackEndSearcher searcher, Result result) void
Retrieves document summaries for the unfilled hits in the givenResult
Dispatcher.getFillInvoker
(Result result, VespaBackEndSearcher searcher) protected abstract void
FillInvoker.getFillResults
(Result result, String summaryClass) protected abstract void
FillInvoker.sendFillRequest
(Result result, String summaryClass) Constructors in com.yahoo.search.dispatch with parameters of type Result -
Uses of Result in com.yahoo.search.dispatch.rpc
Methods in com.yahoo.search.dispatch.rpc with parameters of type ResultModifier and TypeMethodDescriptionRpcInvokerFactory.createFillInvoker
(VespaBackEndSearcher searcher, Result result) protected void
RpcProtobufFillInvoker.getFillResults
(Result result, String summaryClass) protected void
RpcProtobufFillInvoker.sendFillRequest
(Result result, String summaryClass) -
Uses of Result in com.yahoo.search.federation
Methods in com.yahoo.search.federation that return ResultModifier and TypeMethodDescriptionMethods in com.yahoo.search.federation with parameters of type Result -
Uses of Result in com.yahoo.search.federation.selection
Methods in com.yahoo.search.federation.selection with parameters of type ResultModifier and TypeMethodDescriptionvoid
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 ResultModifier and TypeMethodDescriptionImplements the deprecated "unique" api for deduplication by using grouping.Methods in com.yahoo.search.grouping with parameters of type ResultModifier and TypeMethodDescriptionGroupingRequest.getResultGroup
(Result result) Returns the root resultRootGroup
that corresponds to this request. -
Uses of Result in com.yahoo.search.grouping.result
Methods in com.yahoo.search.grouping.result that return Result -
Uses of Result in com.yahoo.search.grouping.vespa
Methods in com.yahoo.search.grouping.vespa that return ResultModifier and TypeMethodDescriptionMethods in com.yahoo.search.grouping.vespa with parameters of type Result -
Uses of Result in com.yahoo.search.handler
Methods in com.yahoo.search.handler that return ResultModifier and TypeMethodDescriptionHttpSearchResponse.getResult()
Returns the result wrapped by thisSearchHandler.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 ResultModifier and TypeMethodDescriptioncom.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 ResultModifier and TypeMethodDescriptionstatic CompletableFuture<Boolean>
HttpSearchResponse.asyncRender
(Result result, Query query, com.yahoo.processing.rendering.Renderer<Result> renderer, OutputStream stream) static com.yahoo.container.logging.HitCounts
SearchResponse.createHitCounts
(Query query, Result result) static com.yahoo.container.handler.Timing
SearchResponse.createTiming
(Query query, Result result) Method parameters in com.yahoo.search.handler with type arguments of type ResultModifier and TypeMethodDescriptionstatic CompletableFuture<Boolean>
HttpSearchResponse.asyncRender
(Result result, Query query, com.yahoo.processing.rendering.Renderer<Result> renderer, OutputStream stream) Constructors in com.yahoo.search.handler with parameters of type ResultModifierConstructorDescriptionHttpSearchResponse
(int status, Result result, Query query, com.yahoo.processing.rendering.Renderer<Result> renderer) Constructor parameters in com.yahoo.search.handler with type arguments of type ResultModifierConstructorDescriptionHttpSearchResponse
(int status, Result result, Query query, com.yahoo.processing.rendering.Renderer<Result> renderer) -
Uses of Result in com.yahoo.search.match
Methods in com.yahoo.search.match that return Result -
Uses of Result in com.yahoo.search.pagetemplates
Methods in com.yahoo.search.pagetemplates that return Result -
Uses of Result in com.yahoo.search.pagetemplates.engine
Methods in com.yahoo.search.pagetemplates.engine with parameters of type ResultModifier and TypeMethodDescriptionvoid
Organizer.organize
(Choice templateChoice, Resolution resolution, Result result) Organizes the given resultOverride 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 ResultModifier and TypeMethodDescriptionvoid
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 -
Uses of Result in com.yahoo.search.query.rewrite
Methods in com.yahoo.search.query.rewrite that return ResultModifier and TypeMethodDescriptionPerform 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 retrievalExecute 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 ResultModifier and TypeMethodDescriptionMethods in com.yahoo.search.querytransform with parameters of type Result -
Uses of Result in com.yahoo.search.ranking
Methods in com.yahoo.search.ranking with parameters of type ResultModifier and TypeMethodDescriptionvoid
GlobalPhaseRanker.rerankHits
(Query query, Result result, String schema) -
Uses of Result in com.yahoo.search.rendering
Methods in com.yahoo.search.rendering that return types with arguments of type ResultModifier and TypeMethodDescriptioncom.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 ResultModifier and TypeMethodDescriptionabstract 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
Called at the end of rendering.void
void
void
Renderer.getCharacterEncoding
(Result result) protected abstract void
Renders the result to the writer.final void
Picks apart the result and feeds it to the other methods.void
Renders this resultfinal CompletableFuture<Boolean>
Renderer.renderResponse
(OutputStream stream, Result response, com.yahoo.processing.execution.Execution execution, com.yahoo.processing.Request request) Renders synchronously and returns when rendering is complete. -
Uses of Result in com.yahoo.search.result
Constructors in com.yahoo.search.result with parameters of type Result -
Uses of Result in com.yahoo.search.searchchain
Methods in com.yahoo.search.searchchain that return ResultModifier and TypeMethodDescriptionFutureResult.get()
Returns a Result containing the hits returned from this source, or an error otherwise.Returns a Result containing the hits returned from this source, or an error otherwise.Calls search on the next searcher in this chain.Methods in com.yahoo.search.searchchain that return types with arguments of type ResultModifier and TypeMethodDescriptionFutureResult.getIfAvailable
(long timeout, TimeUnit timeunit) Same as get(timeout, timeunit) but returns Optional.empty instead of a result with error if the result is not available in timeAsyncExecution.waitForAll
(Collection<FutureResult> tasks, long timeoutMs) Methods in com.yahoo.search.searchchain with parameters of type ResultModifier and TypeMethodDescriptionThe future of this functions returns the original Resultvoid
Fill hit properties with data using the default summary class, possibly overridden with the 'summary' request parameter.void
Calls fill on the next searcher in this chain.void
Execution.fillAttributes
(Result result) Deprecated.use fill(Result, String)Constructor parameters in com.yahoo.search.searchchain with type arguments of type ResultModifierConstructorDescriptionFutureResult
(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 -
Uses of Result in com.yahoo.search.searchchain.testutil
Methods in com.yahoo.search.searchchain.testutil that return ResultModifier and TypeMethodDescriptionMethods in com.yahoo.search.searchchain.testutil with parameters of type Result -
Uses of Result in com.yahoo.search.searchers
Methods in com.yahoo.search.searchers that return ResultModifier and TypeMethodDescription -
Uses of Result in com.yahoo.search.statistics
Methods in com.yahoo.search.statistics with parameters of type ResultModifier and TypeMethodDescriptionvoid
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 ResultModifier and TypeMethodDescriptionMethods in com.yahoo.search.yql with parameters of type Result -
Uses of Result in com.yahoo.vespa.streamingvisitors
Methods in com.yahoo.vespa.streamingvisitors that return ResultModifier and TypeMethodDescriptionMethods in com.yahoo.vespa.streamingvisitors with parameters of type ResultModifier and TypeMethodDescriptionprotected void
StreamingSearcher.doPartialFill
(Result result, String summaryClass)