Uses of Class
com.yahoo.search.Searcher
Packages that use 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
Subclasses of Searcher in ai.vespa.search.llmModifier and TypeClassDescriptionclassBase class for LLM searchers.classAn LLM searcher that uses the RAG (Retrieval-Augmented Generation) model to generate completions. -
Uses of Searcher in com.yahoo.prelude.cluster
Subclasses of Searcher in com.yahoo.prelude.clusterModifier and TypeClassDescriptionclassA searcher which forwards to a cluster of monitored native Vespa backends. -
Uses of Searcher in com.yahoo.prelude.querytransform
Subclasses of Searcher in com.yahoo.prelude.querytransformModifier and TypeClassDescriptionclassSearch to do necessary transforms if the query is in segmented in a CJK language.classMake single item phrases in query into single word items.classAdds rank terms to boost hits matching exact literals fields using info from indexing commands.classDetects and removes certain phrases from the query.classAvoid doing relevance calculations if sorting only on attributes.classNormalizes accentsclassDetects query phrases.classThis searcher parses the content of the "recall" query property as a filter expression alongside a placeholder query string.classReplaces query terms with their stems -
Uses of Searcher in com.yahoo.prelude.searcher
Subclasses of Searcher in com.yahoo.prelude.searcherModifier and TypeClassDescriptionclassFlattens a result consisting of multiple hit groups containing hits into a single flat list of hits.classA searcher which removes hits which has an already seen value of a given field.classThis searcher fills the results in the first phase.classSave the query in the incoming state to a meta hit in the result.classConverts juniper highlighting to XML styleclassGroups hits according to document type.classA searcher converting human-readable position parameters into internal format.classA searcher which does quoting based on a quoting table.classChecks that predicate queries don't use values outside the defined upper/lower bounds.classCheck sorting specification makes sense to the search cluster before passing it on to the backend. -
Uses of Searcher in com.yahoo.prelude.semantics
Subclasses of Searcher in com.yahoo.prelude.semanticsModifier and TypeClassDescriptionclassAnalyzes query semantics and enhances the query to reflect findings -
Uses of Searcher in com.yahoo.prelude.statistics
Subclasses of Searcher in com.yahoo.prelude.statisticsModifier and TypeClassDescriptionclassA searcher to gather statistics such as queries completed and query latency. -
Uses of Searcher in com.yahoo.search.cluster
Subclasses of Searcher in com.yahoo.search.clusterModifier and TypeClassDescriptionclassImplements clustering (failover and load balancing) over a set of client connections to a homogenuos cluster of nodes.classA searcher to which we can send a ping to probe if it is alive -
Uses of Searcher in com.yahoo.search.federation
Subclasses of Searcher in com.yahoo.search.federationModifier and TypeClassDescriptionclassThis searcher takes a set of sources, looks them up in config and fire off the correct searchchains.classA lightweight searcher to forward all incoming requests to a single search chain defined in config. -
Uses of Searcher in com.yahoo.search.federation.selection
Methods in com.yahoo.search.federation.selection that return types with arguments of type SearcherModifier and TypeMethodDescriptioncom.yahoo.component.chain.Chain<Searcher>FederationTarget.getChain()Method parameters in com.yahoo.search.federation.selection with type arguments of type SearcherModifier and TypeMethodDescriptionTargetSelector.getTargets(Query query, com.yahoo.processing.execution.chain.ChainRegistry<Searcher> searcherChainRegistry) Constructor parameters in com.yahoo.search.federation.selection with type arguments of type SearcherModifierConstructorDescriptionFederationTarget(com.yahoo.component.chain.Chain<Searcher> chain, FederationOptions federationOptions, T customData) -
Uses of Searcher in com.yahoo.search.grouping
Subclasses of Searcher in com.yahoo.search.groupingModifier and TypeClassDescriptionclassThis searcher is responsible for turning the "select" parameter into a correspondingGroupingRequest.classThis searcher ensure that allGroupingRequestobjects attached to aQuerymakes sense to the search cluster for which this searcher has been deployed.classImplements 'unique' using a grouping expression. -
Uses of Searcher in com.yahoo.search.grouping.result
Subclasses of Searcher in com.yahoo.search.grouping.resultModifier and TypeClassDescriptionclassFlattens 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
Subclasses of Searcher in com.yahoo.search.grouping.vespa -
Uses of Searcher in com.yahoo.search.handler
Method parameters in com.yahoo.search.handler with type arguments of type SearcherModifier 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
Subclasses of Searcher in com.yahoo.search.match -
Uses of Searcher in com.yahoo.search.pagetemplates
Subclasses of Searcher in com.yahoo.search.pagetemplates -
Uses of Searcher in com.yahoo.search.query.rewrite
Subclasses of Searcher in com.yahoo.search.query.rewriteModifier and TypeClassDescriptionclassA template class for all rewritersclassExecute rewriter search chain specified by the user. -
Uses of Searcher in com.yahoo.search.query.rewrite.rewriters
Subclasses of Searcher in com.yahoo.search.query.rewrite.rewritersModifier and TypeClassDescriptionclassThis 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 addedclassThis 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 equivclassThis 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
Subclasses of Searcher in com.yahoo.search.querytransformModifier and TypeClassDescriptionclassTransform all terms in the incoming query tree and highlight terms to lower case.classSearcher that builds a PredicateItem from the &boolean properties and inserts it into a query.classIf position attribute has not been set, it will be set here.classTraverse a query tree and lowercase terms based on decision made in subclasses.classHandles NGram indexes by splitting query terms to them into grams and combining summary field values from such fields into the original text.classFinds and optimizes ranges in queries: For single value attributes c1 $lt; x AND x > c2 becomes x IN <c1; c2>.classIf the query is eligible, specify that the query should degrade if it causes too many hits to avoid excessively expensive queries.classTransform terms in query tree to lower case based on Vespa index settings.classSearcher that will create a Vespa WAND item from a list of tokens with weights.classRecursively replaces all instances of OrItems with WeakAndItems if the query property weakand.replace is true. -
Uses of Searcher in com.yahoo.search.result
Methods in com.yahoo.search.result with parameters of type SearcherModifier and TypeMethodDescriptionHit.getSearcherSpecificMetaData(Searcher searcher) Returns data attached to this hit for this searcher, or null if nonevoidHit.setSearcherSpecificMetaData(Searcher searcher, Object data) Attach some data to this hit for this searcher -
Uses of Searcher in com.yahoo.search.searchchain
Subclasses of Searcher in com.yahoo.search.searchchainModifier and TypeClassDescriptionclassSearchers which invokes other search chains should override this.Fields in com.yahoo.search.searchchain with type parameters of type SearcherModifier and TypeFieldDescriptionfinal com.yahoo.component.chain.Chain<Searcher>ForkingSearcher.CommentedSearchChain.searchChainMethods in com.yahoo.search.searchchain that return types with arguments of type SearcherModifier 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) Methods in com.yahoo.search.searchchain with parameters of type SearcherMethod parameters in com.yahoo.search.searchchain with type arguments of type SearcherModifier and TypeMethodDescriptionExecutionFactory.newExecution(com.yahoo.component.chain.Chain<? extends Searcher> searchChain) Creates a new execution starting at a search chain.voidcom.yahoo.component.chain.Chain<Searcher>SearchChainRegistry.unregister(com.yahoo.component.chain.Chain<Searcher> component) Constructors in com.yahoo.search.searchchain with parameters of type SearcherModifierConstructorDescriptionExecution(Searcher searcher, Execution.Context context) Creates an execution from a single searcherSearchChain(com.yahoo.component.ComponentId id, Searcher... searchers) Constructor parameters in com.yahoo.search.searchchain with type arguments of type SearcherModifierConstructorDescriptionAsyncExecution(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
Subclasses of Searcher in com.yahoo.search.searchchain.testutil -
Uses of Searcher in com.yahoo.search.searchers
Subclasses of Searcher in com.yahoo.search.searchersModifier and TypeClassDescriptionclassSearcher 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 trueclassRemoves all but the top-n highest scoring entries for a string array field.classSearcher which can enforce HTTP connection close based on query properties.classMeasure latency in container before query is sent to backendclassCheck whether the query tree seems to be "well formed".classWill opportunistically replace the WeakAND with an AND as it is faster.classValidation of query operators against the schema which is searchedclassA simple rate limiter.classValidates any FuzzyItem query items.classValidates that the attribute given as match-phase override is actually a valid numeric attribute with fast-search enabled.classValidates any NearestNeighborItem query items.classValidates any SameElementItem query items. -
Uses of Searcher in com.yahoo.search.significance
Subclasses of Searcher in com.yahoo.search.significanceModifier and TypeClassDescriptionclassSets significance values on word items in the query tree. -
Uses of Searcher in com.yahoo.search.statistics
Constructor parameters in com.yahoo.search.statistics with type arguments of type SearcherModifierConstructorDescriptionTimeTracker(com.yahoo.component.chain.Chain<? extends Searcher> searchChain) -
Uses of Searcher in com.yahoo.search.yql
Subclasses of Searcher in com.yahoo.search.yqlModifier and TypeClassDescriptionclassEnsure the fields specified inPresentation.getSummaryFields()are available after filling phase.classRemove fields which are not explicitly requested, if any field is explicitly requested.classMinimal combinator for YQL+ syntax and heuristically parsed user queries.