Uses of Class
com.yahoo.search.Searcher
-
Packages that use Searcher Package Description 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.federation The federation layer on top of the search container.com.yahoo.search.federation.selection com.yahoo.search.grouping 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.pagetemplates com.yahoo.search.query.rewrite com.yahoo.search.query.rewrite.rewriters 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.searchers Various useful searcherscom.yahoo.search.statistics -
-
Uses of Searcher in com.yahoo.search.cluster
Subclasses of Searcher in com.yahoo.search.cluster Modifier and Type Class Description class
ClusterSearcher<T>
Implements clustering (failover and load balancing) over a set of client connections to a homogenuos cluster of nodes.class
PingableSearcher
A 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.federation Modifier and Type Class Description class
FederationSearcher
This searcher takes a set of sources, looks them up in config and fire off the correct searchchains.class
ForwardingSearcher
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
Methods in com.yahoo.search.federation.selection that return types with arguments of type Searcher Modifier and Type Method Description com.yahoo.component.chain.Chain<Searcher>
FederationTarget. getChain()
Method parameters in com.yahoo.search.federation.selection with type arguments of type Searcher Modifier and Type Method Description java.util.Collection<FederationTarget<T>>
TargetSelector. getTargets(Query query, com.yahoo.processing.execution.chain.ChainRegistry<Searcher> searcherChainRegistry)
Constructor parameters in com.yahoo.search.federation.selection with type arguments of type Searcher Constructor Description FederationTarget(com.yahoo.component.chain.Chain<Searcher> chain, com.yahoo.search.searchchain.model.federation.FederationOptions federationOptions, T customData)
-
Uses of Searcher in com.yahoo.search.grouping
Subclasses of Searcher in com.yahoo.search.grouping Modifier and Type Class Description class
GroupingQueryParser
This searcher is responsible for turning the "select" parameter into a correspondingGroupingRequest
.class
GroupingValidator
This searcher ensure that allGroupingRequest
objects attached to aQuery
makes sense to the search cluster for which this searcher has been deployed.class
UniqueGroupingSearcher
Implements 'unique' using a grouping expression. -
Uses of Searcher in com.yahoo.search.handler
Method parameters in com.yahoo.search.handler with type arguments of type Searcher Modifier and Type Method Description Result
SearchHandler. 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.pagetemplates
Subclasses of Searcher in com.yahoo.search.pagetemplates Modifier and Type Class Description class
PageTemplateSearcher
Enables page optimization templates. -
Uses of Searcher in com.yahoo.search.query.rewrite
Subclasses of Searcher in com.yahoo.search.query.rewrite Modifier and Type Class Description class
QueryRewriteSearcher
A template class for all rewritersclass
SearchChainDispatcherSearcher
Execute 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.rewriters Modifier and Type Class Description class
GenericExpansionRewriter
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
MisspellRewriter
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
NameRewriter
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.result
Methods in com.yahoo.search.result with parameters of type Searcher Modifier and Type Method Description java.lang.Object
Hit. getSearcherSpecificMetaData(Searcher searcher)
Returns data attached to this hit for this searcher, or null if nonevoid
Hit. setSearcherSpecificMetaData(Searcher searcher, java.lang.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.searchchain Modifier and Type Class Description class
ForkingSearcher
Searchers which invokes other search chains should override this.Fields in com.yahoo.search.searchchain with type parameters of type Searcher Modifier and Type Field Description com.yahoo.component.chain.Chain<Searcher>
ForkingSearcher.CommentedSearchChain. searchChain
Methods in com.yahoo.search.searchchain that return types with arguments of type Searcher Modifier and Type Method Description com.yahoo.component.chain.Chain<Searcher>
SearchChainRegistry. getChain(com.yahoo.component.ComponentId id)
com.yahoo.component.chain.Chain<Searcher>
SearchChainRegistry. getChain(java.lang.String componentSpecification)
java.util.List<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 Searcher Modifier and Type Method Description void
SearcherRegistry. register(Searcher searcher)
Method parameters in com.yahoo.search.searchchain with type arguments of type Searcher Modifier and Type Method Description Execution
ExecutionFactory. newExecution(com.yahoo.component.chain.Chain<? extends Searcher> searchChain)
Creates a new execution starting at a search chain.void
SearchChainRegistry. register(com.yahoo.component.chain.Chain<Searcher> component)
com.yahoo.component.chain.Chain<Searcher>
SearchChainRegistry. unregister(com.yahoo.component.chain.Chain<Searcher> component)
Constructors in com.yahoo.search.searchchain with parameters of type Searcher Constructor Description Execution(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 Searcher Constructor Description AsyncExecution(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(java.lang.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, com.yahoo.search.config.IndexInfoConfig indexInfo, 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)
SearchChain(com.yahoo.component.chain.Chain<Searcher> chain)
For internal use only!SearchChain(com.yahoo.component.ComponentId id, java.util.Collection<Searcher> searchers)
SearchChain(com.yahoo.component.ComponentId id, java.util.Collection<Searcher> searchers, java.util.Collection<com.yahoo.component.chain.Phase> phases)
Creates a search chain. -
Uses of Searcher in com.yahoo.search.searchers
Subclasses of Searcher in com.yahoo.search.searchers Modifier and Type Class Description class
CacheControlSearcher
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
ConnectionControlSearcher
Searcher which can enforce HTTP connection close based on query properties.class
ContainerLatencySearcher
Measure latency in container before query is sent to backendclass
InputCheckingSearcher
Check whether the query tree seems to be "well formed".class
QueryValidator
Validation of query operators against the schema which is searchedclass
RateLimitingSearcher
A simple rate limiter.class
ValidateMatchPhaseSearcher
Validates that the attribute given as match-phase override is actually a valid numeric attribute with fast-search enabled.class
ValidateNearestNeighborSearcher
Validates any NearestNeighborItem query items. -
Uses of Searcher in com.yahoo.search.statistics
Subclasses of Searcher in com.yahoo.search.statistics Modifier and Type Class Description class
PeakQpsSearcher
Aggregate peak qps and expose through meta hits and/or log events.class
TimingSearcher
A searcher which is intended to be useful as a general probe for measuring time consumption a search chain.Constructor parameters in com.yahoo.search.statistics with type arguments of type Searcher Constructor Description TimeTracker(com.yahoo.component.chain.Chain<? extends Searcher> searchChain)
-