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.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.http | |
com.yahoo.search.federation.selection | |
com.yahoo.search.federation.vespa | |
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.query.rewrite | |
com.yahoo.search.query.rewrite.rewriters | |
com.yahoo.search.querytransform |
Vespa search platform query transformation infrastructure.
|
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.searchers |
Various useful searchers
|
com.yahoo.search.statistics | |
com.yahoo.search.yql |
YQL+ integration.
|
com.yahoo.vespa.streamingvisitors |
Modifier and Type | Class and Description |
---|---|
class |
ClusterSearcher
A searcher which forwards to a cluster of monitored native Vespa backends.
|
Modifier and Type | Field and Description |
---|---|
private Searcher |
ClusterSearcher.Pinger.searcher |
Modifier and Type | Method and Description |
---|---|
void |
ClusterSearcher.doFill(Searcher searcher,
Result result,
String summaryClass,
Execution execution) |
private Result |
ClusterSearcher.doSearch(Searcher searcher,
Query query,
Execution execution) |
private Result |
ClusterSearcher.searchMultipleDocumentTypes(Searcher searcher,
Query query,
Execution execution) |
Constructor and Description |
---|
Pinger(Searcher searcher) |
Modifier and Type | Class and Description |
---|---|
class |
FastSearcher
The searcher which forwards queries to fdispatch nodes, using the fnet/fs4
network layer.
|
class |
VespaBackEndSearcher
Superclass for backend searchers.
|
Modifier and Type | Class and Description |
---|---|
class |
CJKSearcher
Search to do necessary transforms if the query is in segmented in a CJK language.
|
class |
CollapsePhraseSearcher
Make single item phrases in query into single word items.
|
class |
IndexCombinatorSearcher
Searcher to rewrite queries to achieve mixed recall between indices and
memory attributes.
|
class |
LiteralBoostSearcher
Adds rank terms to boost hits matching exact literals fields using info
from indexing commands.
|
class |
NonPhrasingSearcher
Detects and removes certain phrases from the query.
|
class |
NoRankingSearcher
Avoid doing relevance calculations if sorting only
on attributes.
|
class |
NormalizingSearcher
Normalizes accents
|
class |
PhrasingSearcher
Detects query phrases.
|
class |
RecallSearcher
This searcher parses the content of the "recall" query property as a filter expression alongside a placeholder
query string.
|
class |
StemmingSearcher
Replaces query terms with their stems
|
Modifier and Type | Class and Description |
---|---|
class |
BlendingSearcher
Flattens a result consisting of multiple hit groups containing hits
into a single flat list of hits.
|
class |
CachingSearcher
A generic caching searcher which caches all passing results.
|
class |
DocumentSourceSearcher
Implements a document source.
|
class |
FieldCollapsingSearcher
A searcher which does parametrized collapsing.
|
class |
FillSearcher
This searcher fills the results in the first phase.
|
class |
JSONDebugSearcher
Save the query in the incoming state to a meta hit in the result.
|
class |
JuniperSearcher
Converts juniper highlighting to XML style
|
class |
MultipleResultsSearcher
Groups hits according to sddocname.
|
class |
PosSearcher
A searcher converting human-readable position parameters
into internal format.
|
class |
QuerySnapshotSearcher
Save the query in the incoming state to a meta hit in the result.
|
class |
QueryValidatingSearcher
Ensures hits is 1000 or less and offset is 1000 or less.
|
class |
QuotingSearcher
A searcher which does quoting based on a quoting table.
|
class |
ValidatePredicateSearcher
Checks that predicate queries don't use values outside the defined upper/lower bounds.
|
class |
ValidateSortingSearcher
Check sorting specification makes sense to the search cluster before
passing it on to the backend.
|
Modifier and Type | Field and Description |
---|---|
private Searcher |
FillSearcher.next |
Constructor and Description |
---|
FillSearcher(Searcher next) |
Modifier and Type | Class and Description |
---|---|
class |
SemanticSearcher
Analyzes query semantics and enhances the query to reflect findings
|
Modifier and Type | Class and Description |
---|---|
class |
StatisticsSearcher
A searcher to gather statistics such as queries completed and query latency.
|
Modifier and Type | Class and Description |
---|---|
class |
PingableSearcher
A searcher to which we can send a ping to probe if it is alive
|
Modifier and Type | Class and 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.
|
Modifier and Type | Field and Description |
---|---|
private com.yahoo.component.chain.Chain<Searcher> |
FederationSearcher.StandardTarget.chain |
(package private) Map<com.yahoo.component.chain.Chain<Searcher>,Map<Query,Result>> |
FederationSearcher.UniqueExecutionsToResults.resultsToFill
Implemented as a nested identity hashmap
|
Modifier and Type | Method and Description |
---|---|
(package private) abstract com.yahoo.component.chain.Chain<Searcher> |
FederationSearcher.Target.getChain() |
(package private) com.yahoo.component.chain.Chain<Searcher> |
FederationSearcher.StandardTarget.getChain() |
(package private) com.yahoo.component.chain.Chain<Searcher> |
FederationSearcher.CustomTarget.getChain() |
Modifier and Type | Method and Description |
---|---|
Result |
FederationSearcher.UniqueExecutionsToResults.get(com.yahoo.component.chain.Chain<Searcher> chain,
Query query)
Returns a result to fill for a query and chain, by creating it if necessary
|
Constructor and Description |
---|
StandardTarget(SearchChainInvocationSpec target,
com.yahoo.component.chain.Chain<Searcher> chain) |
Modifier and Type | Class and Description |
---|---|
class |
ConfiguredHTTPClientSearcher
Superclass for http client searchers which depends on config.
|
class |
ConfiguredHTTPProviderSearcher
Superclass for http provider searchers which depends on config.
|
class |
HTTPClientSearcher
A utility parent for searchers which gets data from web services which is incorporated into the query.
|
class |
HTTPProviderSearcher
Superclass of searchers which talks to HTTP backends.
|
class |
HTTPSearcher
Generic superclass of searchers making connections to some HTTP service.
|
Modifier and Type | Field and Description |
---|---|
private com.yahoo.component.chain.Chain<Searcher> |
FederationTarget.chain |
Modifier and Type | Method and Description |
---|---|
com.yahoo.component.chain.Chain<Searcher> |
FederationTarget.getChain() |
Modifier and Type | Method and Description |
---|---|
Collection<FederationTarget<T>> |
TargetSelector.getTargets(Query query,
com.yahoo.processing.execution.chain.ChainRegistry<Searcher> searcherChainRegistry) |
Constructor and Description |
---|
FederationTarget(com.yahoo.component.chain.Chain<Searcher> chain,
FederationOptions federationOptions,
T customData) |
Modifier and Type | Class and Description |
---|---|
class |
VespaSearcher
Backend searcher for external Vespa clusters (queried over http).
|
Modifier and Type | Class and Description |
---|---|
class |
GroupingQueryParser
This searcher is responsible for turning the "select" parameter into a corresponding
GroupingRequest . |
class |
GroupingValidator
This searcher ensure that all
GroupingRequest objects attached to a Query makes sense to the search
cluster for which this searcher has been deployed. |
class |
UniqueGroupingSearcher
Implements 'unique' using a grouping expression.
|
Modifier and Type | Class and Description |
---|---|
class |
GroupingExecutor
Executes the
grouping requests set up by other searchers. |
Modifier and Type | Field and Description |
---|---|
private Searcher |
HitConverter.searcher |
Constructor and Description |
---|
HitConverter(Searcher searcher,
Query query)
Creates a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
private com.yahoo.collections.Tuple2<String,com.yahoo.component.chain.Chain<Searcher>> |
SearchHandler.resolveChain(String explicitChainName) |
Modifier and Type | Method and Description |
---|---|
private Result |
SearchHandler.search(String request,
Query query,
com.yahoo.component.chain.Chain<Searcher> searchChain,
SearchChainRegistry registry) |
Result |
SearchHandler.searchAndFill(Query query,
com.yahoo.component.chain.Chain<? extends Searcher> searchChain,
SearchChainRegistry registry)
Used from container SDK, for internal use only
|
private void |
SearchHandler.setupSearchChainRegistry(com.yahoo.component.provider.ComponentRegistry<Searcher> searchers,
com.yahoo.container.core.ChainsConfig chainsConfig) |
Constructor and Description |
---|
SearchHandler(com.yahoo.container.core.ChainsConfig chainsConfig,
IndexInfoConfig indexInfo,
com.yahoo.container.QrSearchersConfig clusters,
com.yahoo.vespa.configdefinition.SpecialtokensConfig specialTokens,
com.yahoo.container.core.QrTemplatesConfig ignored,
com.yahoo.container.protect.FreezeDetector ignored2,
com.yahoo.statistics.Statistics statistics,
com.yahoo.language.Linguistics linguistics,
com.yahoo.jdisc.Metric metric,
com.yahoo.component.provider.ComponentRegistry<com.yahoo.processing.rendering.Renderer> renderers,
Executor executor,
com.yahoo.container.logging.AccessLog accessLog,
QueryProfilesConfig queryProfileConfig,
com.yahoo.component.provider.ComponentRegistry<Searcher> searchers)
Deprecated.
use the constructor without deprecated parameters
|
SearchHandler(com.yahoo.container.core.ChainsConfig chainsConfig,
IndexInfoConfig indexInfo,
com.yahoo.container.QrSearchersConfig clusters,
com.yahoo.vespa.configdefinition.SpecialtokensConfig specialtokens,
com.yahoo.statistics.Statistics statistics,
com.yahoo.language.Linguistics linguistics,
com.yahoo.jdisc.Metric metric,
com.yahoo.component.provider.ComponentRegistry<com.yahoo.processing.rendering.Renderer> renderers,
Executor executor,
com.yahoo.container.logging.AccessLog accessLog,
QueryProfilesConfig queryProfileConfig,
com.yahoo.component.provider.ComponentRegistry<Searcher> searchers)
Deprecated.
use the constructor with ContainerHttpConfig
|
SearchHandler(com.yahoo.container.core.ChainsConfig chainsConfig,
IndexInfoConfig indexInfo,
com.yahoo.container.QrSearchersConfig clusters,
com.yahoo.vespa.configdefinition.SpecialtokensConfig specialtokens,
com.yahoo.statistics.Statistics statistics,
com.yahoo.language.Linguistics linguistics,
com.yahoo.jdisc.Metric metric,
com.yahoo.component.provider.ComponentRegistry<com.yahoo.processing.rendering.Renderer> renderers,
Executor executor,
com.yahoo.container.logging.AccessLog accessLog,
QueryProfilesConfig queryProfileConfig,
com.yahoo.component.provider.ComponentRegistry<Searcher> searchers,
com.yahoo.container.core.ContainerHttpConfig containerHttpConfig) |
Modifier and Type | Class and Description |
---|---|
class |
DocumentDb
A searchable database of documents
|
Modifier and Type | Class and Description |
---|---|
class |
PageTemplateSearcher
Enables page optimization templates.
|
Modifier and Type | Class and Description |
---|---|
class |
QueryRewriteSearcher
A template class for all rewriters
|
class |
SearchChainDispatcherSearcher
Execute rewriter search chain specified by the user.
|
Modifier and Type | Class and 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 added |
class |
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 equiv |
class |
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 |
Modifier and Type | Class and Description |
---|---|
class |
AllLowercasingSearcher
Transform all terms in the incoming query tree and highlight terms to lower
case.
|
class |
BooleanSearcher
Searcher that builds a PredicateItem from the &boolean properties and inserts it into a query.
|
class |
DefaultPositionSearcher
If default position has not been set, it will be set here.
|
class |
LegacyCombinator
Compatibility layer to implement the old multi part query syntax, along with
the features of QueryCombinator.
|
class |
LowercasingSearcher
Traverse a query tree and lowercase terms based on decision made in subclasses.
|
class |
NGramSearcher
Handles NGram indexes by splitting query terms to them into grams and combining summary field values
from such fields into the original text.
|
class |
QueryCombinator
Deprecated.
use YQL
|
class |
RangeQueryOptimizer
Finds and optimizes ranges in queries:
For single value attributes c1 $lt; x AND x > c2 becomes x IN <c1; c2>.
|
class |
SortingDegrader
If the query is eligible, specify that the query should degrade if it causes too many hits
to avoid excessively expensive queries.
|
class |
VespaLowercasingSearcher
Transform terms in query tree to lower case based on Vespa index settings.
|
class |
WandSearcher
Searcher that will create a Vespa WAND item from a list of tokens with weights.
|
Modifier and Type | Field and Description |
---|---|
private Map<Searcher,Object> |
Hit.searcherSpecificMetaData
Meta data describing how a given searcher should treat this hit.
|
Modifier and Type | Method and Description |
---|---|
Object |
Hit.getSearcherSpecificMetaData(Searcher searcher)
get meta data describing how a given searcher should treat this hit.
|
void |
Hit.setSearcherSpecificMetaData(Searcher searcher,
Object data)
Set meta data describing how a given searcher should treat this hit.
|
Modifier and Type | Class and Description |
---|---|
class |
ForkingSearcher
Searchers which invokes other search chains should override this.
|
Modifier and Type | Field and Description |
---|---|
com.yahoo.component.chain.Chain<Searcher> |
ForkingSearcher.CommentedSearchChain.searchChain |
Modifier and Type | Method and Description |
---|---|
com.yahoo.component.chain.Chain<Searcher> |
SearchChainRegistry.getChain(com.yahoo.component.ComponentId id) |
com.yahoo.component.chain.Chain<Searcher> |
SearchChainRegistry.getChain(String componentSpecification) |
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) |
Modifier and Type | Method and Description |
---|---|
private Pong |
Execution.invokePing(Ping ping,
Searcher next) |
private void |
Execution.onInvokingFill(Searcher searcher,
Result result,
String summaryClass) |
private void |
Execution.onReturningFill(Searcher searcher,
Result result,
String summaryClass) |
void |
SearcherRegistry.register(Searcher searcher) |
Modifier and Type | Method and Description |
---|---|
private SearchChain |
SearchChainRegistry.asSearchChain(com.yahoo.component.chain.Chain<Searcher> 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) |
Constructor and Description |
---|
Execution(Searcher searcher,
Execution.Context context)
Creates an execution from a single searcher
|
SearchChain(com.yahoo.component.ComponentId id,
Searcher... searchers) |
Constructor and Description |
---|
AsyncExecution(com.yahoo.component.chain.Chain<? extends Searcher> chain,
Execution.Context context)
Creates an async execution.
|
AsyncExecution(com.yahoo.component.chain.Chain<? extends Searcher> chain,
Execution execution)
Creates an async execution.
|
AsyncExecution(Execution.Context context,
com.yahoo.component.chain.Chain<? extends Searcher> chain) |
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.
|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
ExampleSearcher
An example searcher which adds a hit
|
Modifier and Type | Class and 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 true
|
class |
ConnectionControlSearcher
Searcher which can enforce HTTP connection close based on query properties.
|
class |
InputCheckingSearcher
Check whether the query tree seems to be "well formed".
|
class |
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.
|
Modifier and Type | Class and 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 and Description |
---|
TimeTracker(com.yahoo.component.chain.Chain<? extends Searcher> searchChain) |
Modifier and Type | Class and Description |
---|---|
class |
FieldFiller
Ensure the fields specified in
Presentation.getSummaryFields() are
available after filling phase. |
class |
FieldFilter
Remove fields which are not explicitly requested, if any field is explicitly
requested.
|
class |
MinimalQueryInserter
Minimal combinator for YQL+ syntax and heuristically parsed user queries.
|
Modifier and Type | Class and Description |
---|---|
class |
MetricsSearcher
Generates mail-specific query metrics.
|
class |
VdsStreamingSearcher
The searcher which forwards queries to storage nodes using visiting.
|
Copyright © 2018. All rights reserved.