Uses of Class
com.yahoo.search.Searcher
Package
Description
Cluster monitoring for content clusters queried over fnet.
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 Searcher in ai.vespa.search.llm
Modifier and TypeClassDescriptionclass
Base class for LLM searchers.class
An LLM searcher that uses the RAG (Retrieval-Augmented Generation) model to generate completions. -
Uses of Searcher in com.yahoo.prelude.cluster
Modifier and TypeClassDescriptionclass
A searcher which forwards to a cluster of monitored native Vespa backends. -
Uses of Searcher in com.yahoo.prelude.querytransform
Modifier and TypeClassDescriptionclass
Search to do necessary transforms if the query is in segmented in a CJK language.class
Make single item phrases in query into single word items.class
Adds rank terms to boost hits matching exact literals fields using info from indexing commands.class
Detects and removes certain phrases from the query.class
Avoid doing relevance calculations if sorting only on attributes.class
Normalizes accentsclass
Detects query phrases.class
This searcher parses the content of the "recall" query property as a filter expression alongside a placeholder query string.class
Replaces query terms with their stems -
Uses of Searcher in com.yahoo.prelude.searcher
Modifier and TypeClassDescriptionclass
Flattens a result consisting of multiple hit groups containing hits into a single flat list of hits.class
A searcher which does parameterized collapsing.class
This searcher fills the results in the first phase.class
Save the query in the incoming state to a meta hit in the result.class
Converts juniper highlighting to XML styleclass
Groups hits according to document type.class
A searcher converting human-readable position parameters into internal format.class
A searcher which does quoting based on a quoting table.class
Checks that predicate queries don't use values outside the defined upper/lower bounds.class
Check sorting specification makes sense to the search cluster before passing it on to the backend. -
Uses of Searcher in com.yahoo.prelude.semantics
Modifier and TypeClassDescriptionclass
Analyzes query semantics and enhances the query to reflect findings -
Uses of Searcher in com.yahoo.prelude.statistics
Modifier and TypeClassDescriptionclass
A searcher to gather statistics such as queries completed and query latency. -
Uses of Searcher in com.yahoo.search.cluster
Modifier and TypeClassDescriptionclass
Implements clustering (failover and load balancing) over a set of client connections to a homogenuos cluster of nodes.class
A searcher to which we can send a ping to probe if it is alive -
Uses of Searcher in com.yahoo.search.federation
Modifier and TypeClassDescriptionclass
This searcher takes a set of sources, looks them up in config and fire off the correct searchchains.class
A lightweight searcher to forward all incoming requests to a single search chain defined in config. -
Uses of Searcher in com.yahoo.search.federation.selection
Modifier and TypeMethodDescriptioncom.yahoo.component.chain.Chain<Searcher>
FederationTarget.getChain()
Modifier and TypeMethodDescriptionTargetSelector.getTargets
(Query query, com.yahoo.processing.execution.chain.ChainRegistry<Searcher> searcherChainRegistry) ModifierConstructorDescriptionFederationTarget
(com.yahoo.component.chain.Chain<Searcher> chain, FederationOptions federationOptions, T customData) -
Uses of Searcher in com.yahoo.search.grouping
Modifier and TypeClassDescriptionclass
This searcher is responsible for turning the "select" parameter into a correspondingGroupingRequest
.class
This searcher ensure that allGroupingRequest
objects attached to aQuery
makes sense to the search cluster for which this searcher has been deployed.class
Implements 'unique' using a grouping expression. -
Uses of Searcher in com.yahoo.search.grouping.result
Modifier and TypeClassDescriptionclass
Flattens a grouping result into a flat list of hits on the top level in the returned result. -
Uses of Searcher in com.yahoo.search.grouping.vespa
-
Uses of Searcher in com.yahoo.search.handler
Modifier and TypeMethodDescriptionSearchHandler.searchAndFill
(Query query, com.yahoo.component.chain.Chain<? extends Searcher> searchChain) Used from container SDK, for internal use only -
Uses of Searcher in com.yahoo.search.match
-
Uses of Searcher in com.yahoo.search.pagetemplates
-
Uses of Searcher in com.yahoo.search.query.rewrite
Modifier and TypeClassDescriptionclass
A template class for all rewritersclass
Execute rewriter search chain specified by the user. -
Uses of Searcher in com.yahoo.search.query.rewrite.rewriters
Modifier and TypeClassDescriptionclass
This rewriter would add rewrites to entities (e.g abbreviation, synonym, etc)
to boost precision - FSA dict: [normalized original query]\t[rewrite 1]\t[rewrite 2]\t[etc]
- Features:
RewritesAsUnitEquiv flag: add proximity boosted rewrites
PartialPhraseMatch flag: whether to match whole phrase or partial phrase
MaxRewrites flag: the maximum number of rewrites to be addedclass
This rewriter would retrieve spell corrected query from QLAS and add it to the original query tree as equiv
- Features:
RewritesAsEquiv flag: add rewrites to original query as equivclass
This rewriter would add rewrites to name entities to boost precision
- FSA dict: [normalized original query]\t[rewrite 1]\t[rewrite 2]\t[etc]
- Features:
OriginalAsUnit flag: add proximity boosting to original query
RewritesAsUnitEquiv flag: add proximity boosted rewrites to original query
RewritesAsEquiv flag: add rewrites to original query -
Uses of Searcher in com.yahoo.search.querytransform
Modifier and TypeClassDescriptionclass
Transform all terms in the incoming query tree and highlight terms to lower case.class
Searcher that builds a PredicateItem from the &boolean properties and inserts it into a query.class
If position attribute has not been set, it will be set here.class
Traverse a query tree and lowercase terms based on decision made in subclasses.class
Handles NGram indexes by splitting query terms to them into grams and combining summary field values from such fields into the original text.class
Finds and optimizes ranges in queries: For single value attributes c1 $lt; x AND x > c2 becomes x IN <c1; c2>.class
If the query is eligible, specify that the query should degrade if it causes too many hits to avoid excessively expensive queries.class
Transform terms in query tree to lower case based on Vespa index settings.class
Searcher that will create a Vespa WAND item from a list of tokens with weights.class
Recursively replaces all instances of OrItems with WeakAndItems if the query property weakand.replace is true. -
Uses of Searcher in com.yahoo.search.result
Modifier and TypeMethodDescriptionHit.getSearcherSpecificMetaData
(Searcher searcher) Returns data attached to this hit for this searcher, or null if nonevoid
Hit.setSearcherSpecificMetaData
(Searcher searcher, Object data) Attach some data to this hit for this searcher -
Uses of Searcher in com.yahoo.search.searchchain
Modifier and TypeClassDescriptionclass
Searchers which invokes other search chains should override this.Modifier and TypeFieldDescriptionfinal com.yahoo.component.chain.Chain<Searcher>
ForkingSearcher.CommentedSearchChain.searchChain
Modifier and TypeMethodDescriptionfinal com.yahoo.component.chain.Chain<Searcher>
SearchChainRegistry.getChain
(com.yahoo.component.ComponentId id) final com.yahoo.component.chain.Chain<Searcher>
SearchChain.searchers()
Returns an unmodifiable list of the searchers this search chain executs, in resolved execution order.com.yahoo.component.chain.Chain<Searcher>
SearchChainRegistry.unregister
(com.yahoo.component.chain.Chain<Searcher> component) Modifier and TypeMethodDescriptionExecutionFactory.newExecution
(com.yahoo.component.chain.Chain<? extends Searcher> searchChain) Creates a new execution starting at a search chain.void
com.yahoo.component.chain.Chain<Searcher>
SearchChainRegistry.unregister
(com.yahoo.component.chain.Chain<Searcher> component) ModifierConstructorDescriptionExecution
(Searcher searcher, Execution.Context context) Creates an execution from a single searcherSearchChain
(com.yahoo.component.ComponentId id, Searcher... searchers) ModifierConstructorDescriptionAsyncExecution
(com.yahoo.component.chain.Chain<? extends Searcher> chain, Execution execution) Creates an async execution.AsyncExecution
(com.yahoo.component.chain.Chain<? extends Searcher> chain, Execution.Context context) Creates an async execution.CommentedSearchChain
(String comment, com.yahoo.component.chain.Chain<Searcher> searchChain) 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.ExecutionFactory
(com.yahoo.container.core.ChainsConfig chainsConfig, IndexInfoConfig indexInfo, SchemaInfoConfig schemaInfo, com.yahoo.container.QrSearchersConfig clusters, com.yahoo.component.provider.ComponentRegistry<Searcher> searchers, com.yahoo.vespa.configdefinition.SpecialtokensConfig specialTokens, com.yahoo.language.Linguistics linguistics, com.yahoo.component.provider.ComponentRegistry<com.yahoo.processing.rendering.Renderer> renderers, Executor executor) ExecutionFactory
(com.yahoo.container.core.ChainsConfig chainsConfig, IndexInfoConfig indexInfo, SchemaInfo schemaInfo, com.yahoo.container.QrSearchersConfig clusters, com.yahoo.component.provider.ComponentRegistry<Searcher> searchers, com.yahoo.vespa.configdefinition.SpecialtokensConfig specialTokens, com.yahoo.language.Linguistics linguistics, com.yahoo.component.provider.ComponentRegistry<com.yahoo.processing.rendering.Renderer> renderers, Executor executor) SearchChain
(com.yahoo.component.chain.Chain<Searcher> chain) For internal use only!SearchChain
(com.yahoo.component.ComponentId id, Collection<Searcher> searchers) SearchChain
(com.yahoo.component.ComponentId id, Collection<Searcher> searchers, Collection<com.yahoo.component.chain.Phase> phases) Creates a search chain. -
Uses of Searcher in com.yahoo.search.searchchain.testutil
-
Uses of Searcher in com.yahoo.search.searchers
Modifier and TypeClassDescriptionclass
Searcher that sets cache control HTTP headers in response based on query/GET parameters to control caching done by proxy/caches such as YSquid and YTS: max-age=XXX - set with &cachecontrol.maxage parameter stale-while-revalidate=YYY - set with &cachecontrol.staleage no-cache - if Vespa &noCache or &cachecontrol.nocache parameter is set to trueclass
Searcher which can enforce HTTP connection close based on query properties.class
Measure latency in container before query is sent to backendclass
Check whether the query tree seems to be "well formed".class
Will opportunistically replace the WeakAND with an AND as it is faster.class
Validation of query operators against the schema which is searchedclass
A simple rate limiter.class
Validates any FuzzyItem query items.class
Validates that the attribute given as match-phase override is actually a valid numeric attribute with fast-search enabled.class
Validates any NearestNeighborItem query items. -
Uses of Searcher in com.yahoo.search.significance
Modifier and TypeClassDescriptionclass
Sets significance values on word items in the query tree. -
Uses of Searcher in com.yahoo.search.statistics
ModifierConstructorDescriptionTimeTracker
(com.yahoo.component.chain.Chain<? extends Searcher> searchChain) -
Uses of Searcher in com.yahoo.search.yql
Modifier and TypeClassDescriptionclass
Ensure the fields specified inPresentation.getSummaryFields()
are available after filling phase.class
Remove fields which are not explicitly requested, if any field is explicitly requested.class
Minimal combinator for YQL+ syntax and heuristically parsed user queries. -
Uses of Searcher in com.yahoo.vespa.streamingvisitors