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 |
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.
|
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.grouping | |
com.yahoo.search.grouping.vespa | |
com.yahoo.search.match | |
com.yahoo.search.pagetemplates | |
com.yahoo.search.query |
The search query model
|
com.yahoo.search.query.rewrite | |
com.yahoo.search.querytransform |
Vespa search platform query transformation infrastructure.
|
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.searchchain.testutil | |
com.yahoo.search.searchers |
Various useful searchers
|
com.yahoo.search.statistics | |
com.yahoo.search.yql |
YQL+ integration.
|
com.yahoo.vespa.streamingvisitors |
Modifier and Type | Method and Description |
---|---|
private Execution |
ClusterSearcher.Pinger.createExecution() |
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) |
void |
ClusterSearcher.fill(Result result,
String summaryClass,
Execution execution) |
Result |
ClusterSearcher.search(Query query,
Execution execution) |
private Result |
ClusterSearcher.searchMultipleDocumentTypes(Searcher searcher,
Query query,
Execution execution) |
Modifier and Type | Method and Description |
---|---|
protected abstract Result |
VespaBackEndSearcher.doSearch2(Query query,
QueryPacket queryPacket,
CacheKey cacheKey,
Execution execution)
Searches a search cluster
This is an endpoint - searchers will never propagate the search to any nested searcher.
|
Result |
FastSearcher.doSearch2(Query query,
QueryPacket queryPacket,
CacheKey cacheKey,
Execution execution) |
void |
VespaBackEndSearcher.fill(Result result,
String summaryClass,
Execution execution) |
Pong |
FastSearcher.ping(Ping ping,
Execution execution)
Pings the backend.
|
Result |
VespaBackEndSearcher.search(Query query,
Execution execution) |
Modifier and Type | Method and Description |
---|---|
Result |
StemmingSearcher.search(Query query,
Execution execution) |
Result |
RecallSearcher.search(Query query,
Execution execution) |
Result |
NormalizingSearcher.search(Query query,
Execution execution) |
Result |
PhrasingSearcher.search(Query query,
Execution execution) |
Result |
LiteralBoostSearcher.search(Query query,
Execution execution) |
Result |
NoRankingSearcher.search(Query query,
Execution execution) |
Result |
CJKSearcher.search(Query query,
Execution execution) |
Result |
IndexCombinatorSearcher.search(Query query,
Execution execution) |
Result |
NonPhrasingSearcher.search(Query query,
Execution execution) |
Result |
CollapsePhraseSearcher.search(Query query,
Execution execution) |
Modifier and Type | Field and Description |
---|---|
private Execution |
MultipleResultsSearcher.HitsRetriever.execution |
Modifier and Type | Method and Description |
---|---|
protected Result |
BlendingSearcher.blendResults(Result result,
Query q,
int offset,
int hits,
Execution execution)
Produce a single blended result list from a group of hitgroups.
|
private Result |
BlendingSearcher.blendResultsDirectly(Result result,
Query q,
int offset,
int hits,
List<HitGroup> groups,
Execution execution) |
private Result |
BlendingSearcher.blendResultsUniquely(Result result,
Query q,
int offset,
int hits,
List<HitGroup> groups,
Execution execution) |
void |
FillSearcher.fill(Result result,
String summaryClass,
Execution execution) |
void |
BlendingSearcher.fill(Result result,
String summaryClass,
Execution execution)
Fills this result by forwarding to the right chained searchers
|
void |
DocumentSourceSearcher.fill(Result result,
String summaryClass,
Execution execution) |
void |
JuniperSearcher.fill(Result result,
String summaryClass,
Execution execution) |
protected boolean |
BlendingSearcher.DocumentMerger.known(HitGroup source,
Hit hit,
Execution execution) |
(package private) void |
BlendingSearcher.DocumentMerger.mergeResults(List<HitGroup> groups,
Execution execution) |
(package private) abstract void |
BlendingSearcher.DocumentMerger.put(HitGroup source,
Hit hit,
Execution execution) |
(package private) void |
BlendingSearcher.BasicMerger.put(HitGroup source,
Hit hit,
Execution execution) |
(package private) void |
BlendingSearcher.UniqueMerger.put(HitGroup source,
Hit hit,
Execution execution) |
(package private) abstract void |
BlendingSearcher.DocumentMerger.scan(Hit hit,
int i,
Execution execution) |
(package private) void |
BlendingSearcher.BasicMerger.scan(Hit hit,
int i,
Execution execution) |
(package private) void |
BlendingSearcher.UniqueMerger.scan(Hit hit,
int i,
Execution execution) |
(package private) void |
BlendingSearcher.DocumentMerger.scanResult(Execution execution) |
Result |
PosSearcher.search(Query query,
Execution execution) |
Result |
FillSearcher.search(Query query,
Execution execution) |
Result |
QuerySnapshotSearcher.search(Query query,
Execution execution) |
Result |
ValidateSortingSearcher.search(Query query,
Execution execution) |
Result |
BlendingSearcher.search(Query query,
Execution execution) |
Result |
FieldCollapsingSearcher.search(Query query,
Execution execution)
First fetch result from the next searcher in the chain.
|
Result |
QueryValidatingSearcher.search(Query query,
Execution execution) |
Result |
DocumentSourceSearcher.search(Query query,
Execution execution) |
Result |
CachingSearcher.search(Query query,
Execution execution) |
Result |
ValidatePredicateSearcher.search(Query query,
Execution execution) |
Result |
JSONDebugSearcher.search(Query query,
Execution execution) |
Result |
JuniperSearcher.search(Query query,
Execution execution)
Convert Juniper style property highlighting to XML style.
|
Result |
MultipleResultsSearcher.search(Query query,
Execution e) |
Result |
QuotingSearcher.search(Query query,
Execution execution) |
private Result |
FieldCollapsingSearcher.search(Query query,
Execution execution,
int offset,
int hits) |
private Result |
BlendingSearcher.sortAndTrimResults(Result result,
Query q,
int offset,
int hits,
Execution execution) |
protected void |
BlendingSearcher.DocumentMerger.storeID(Hit hit,
Execution execution) |
Constructor and Description |
---|
HitsRetriever(Query query,
Execution execution,
MultipleResultsSearcher.Parameters parameters) |
Modifier and Type | Method and Description |
---|---|
Result |
SemanticSearcher.search(Query query,
Execution execution) |
Modifier and Type | Method and Description |
---|---|
Result |
StatisticsSearcher.search(Query query,
Execution execution)
Generate statistics for the query passing through this Searcher
1) Add 1 to total query count
2) Add response time to total response time (time from entry to return)
3) .....
|
Modifier and Type | Method and Description |
---|---|
void |
Searcher.ensureFilled(Result result,
String summaryClass,
Execution execution)
Fills the result if it is not already filled for the given summary class.
|
void |
Searcher.fill(Result result,
String summaryClass,
Execution execution)
Fill hit properties with data using the given summary class.
|
abstract Result |
Searcher.search(Query query,
Execution execution)
Override this to implement your searcher.
|
Modifier and Type | Method and Description |
---|---|
private void |
ClusterSearcher.doFill(T connection,
Result result,
String summaryClass,
Execution execution) |
void |
ClusterSearcher.fill(Result result,
String summaryClass,
Execution execution) |
protected abstract void |
ClusterSearcher.fill(Result result,
String summaryClass,
Execution execution,
T connection)
Perform the fill against the given connection.
|
Pong |
PingableSearcher.ping(Ping ping,
Execution execution)
Send a ping request downwards to probe if this searcher chain is in functioning order
|
protected 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 result
|
Result |
ClusterSearcher.search(Query query,
Execution execution) |
protected Result |
ClusterSearcher.search(Query query,
Execution execution,
ErrorMessage message)
This is called (instead of search(quer,execution,connextion) to handle
searches where no (suitable) backend was available.
|
protected abstract Result |
ClusterSearcher.search(Query query,
Execution execution,
T connection)
Perform the search against the given connection.
|
Modifier and Type | Method and Description |
---|---|
private Execution |
ForwardingSearcher.createForward(Execution execution) |
Modifier and Type | Method and Description |
---|---|
private Execution |
ForwardingSearcher.createForward(Execution execution) |
void |
FederationSearcher.fill(Result result,
String summaryClass,
Execution execution) |
void |
ForwardingSearcher.fill(Result result,
String summaryClass,
Execution execution) |
private static <T> List<FederationSearcher.Target> |
FederationSearcher.getAdditionalTargets(Query query,
Execution execution,
TargetSelector<T> targetSelector) |
Pong |
ForwardingSearcher.ping(Ping ping,
Execution execution) |
Result |
FederationSearcher.search(Query query,
Execution execution) |
Result |
ForwardingSearcher.search(Query query,
Execution execution) |
private FederationResult |
FederationSearcher.search(Query query,
Execution execution,
Collection<FederationSearcher.Target> targets) |
private void |
FederationSearcher.search(Query query,
Execution execution,
Collection<FederationSearcher.Target> targets,
Result mergedResults) |
private Optional<Result> |
FederationSearcher.search(Query query,
Execution execution,
FederationSearcher.Target target) |
private void |
FederationSearcher.search(Query query,
Execution execution,
FederationSearcher.Target target,
Result mergedResults) |
private FutureResult |
FederationSearcher.searchAsynchronously(Query query,
Execution execution,
FederationSearcher.Window window,
FederationSearcher.Target target) |
Modifier and Type | Method and Description |
---|---|
void |
HTTPClientSearcher.fill(Result result,
String summaryClass,
Execution execution,
Connection connection)
Do nothing on fill in client searchers
|
void |
ConfiguredHTTPClientSearcher.fill(Result result,
String summaryName,
Execution execution,
Connection connection)
Forwards to the next in chain fill(result,summaryName)
|
void |
ConfiguredHTTPProviderSearcher.fill(Result result,
String summaryName,
Execution execution,
Connection connection)
Override this to provider multi-phase result filling towards a backend.
|
Result |
HTTPClientSearcher.robustSearch(Query query,
Execution execution,
Connection connection)
Overridden to avoid interfering with errors from nested searchers, which is inappropriate for a client
|
Result |
HTTPClientSearcher.search(Query query,
Execution execution,
Connection connection)
Implements a search towards the connection chosen by the cluster searcher for this query
|
Result |
HTTPProviderSearcher.search(Query query,
Execution execution,
Connection connection) |
Result |
HTTPClientSearcher.search(Query query,
Execution execution,
ErrorMessage error)
Overrides to pass the query on to the next searcher
|
Modifier and Type | Method and Description |
---|---|
private static Result |
UniqueGroupingSearcher.dedupe(Query query,
Execution execution,
String dedupField)
Until we can use the grouping pagination features in 5.1, we'll have to support offset
by simply requesting and discarding hit #0 up to hit #offset.
|
Result |
GroupingQueryParser.search(Query query,
Execution execution) |
Result |
GroupingValidator.search(Query query,
Execution execution) |
Result |
UniqueGroupingSearcher.search(Query query,
Execution execution)
Implements the deprecated "unique" api for deduplication by using grouping.
|
Modifier and Type | Method and Description |
---|---|
void |
GroupingExecutor.fill(Result result,
String summaryClass,
Execution execution) |
private Result |
GroupingExecutor.performSearch(Query query,
Execution execution,
Map<Integer,com.yahoo.searchlib.aggregation.Grouping> groupingMap)
Performs the actual search passes to complete all the given
Grouping requests. |
Result |
GroupingExecutor.search(Query query,
Execution execution) |
Modifier and Type | Method and Description |
---|---|
Result |
DocumentDb.search(Query query,
Execution execution)
Search this document db
|
Modifier and Type | Method and Description |
---|---|
Result |
PageTemplateSearcher.search(Query query,
Execution execution) |
Modifier and Type | Field and Description |
---|---|
private Execution |
Model.execution |
Modifier and Type | Method and Description |
---|---|
Execution |
Model.getExecution()
Returns the Execution working on this, or a null execution if none.
|
Modifier and Type | Method and Description |
---|---|
void |
Model.setExecution(Execution execution)
Sets the execution working on this.
|
Modifier and Type | Method and Description |
---|---|
Result |
SearchChainDispatcherSearcher.search(Query query,
Execution execution)
Execute another search chain specified by the user
- Retrieve search chain specified by the user through param - Execute specified search chain if exist |
Result |
QueryRewriteSearcher.search(Query query,
Execution execution)
Perform 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 retrieval |
Modifier and Type | Method and Description |
---|---|
void |
NGramSearcher.fill(Result result,
String summaryClass,
Execution execution) |
Result |
RangeQueryOptimizer.search(Query query,
Execution execution) |
Result |
BooleanSearcher.search(Query query,
Execution execution) |
Result |
QueryCombinator.search(Query query,
Execution execution)
Deprecated.
|
Result |
LegacyCombinator.search(Query query,
Execution execution) |
Result |
DefaultPositionSearcher.search(Query query,
Execution execution) |
Result |
WandSearcher.search(Query query,
Execution execution) |
Result |
LowercasingSearcher.search(Query query,
Execution execution) |
Result |
NGramSearcher.search(Query query,
Execution execution) |
Result |
SortingDegrader.search(Query query,
Execution execution) |
private Result |
BooleanSearcher.search(Query query,
Execution execution,
String fieldName) |
Constructor and Description |
---|
InputResolver(Query query,
Execution execution) |
Modifier and Type | Field and Description |
---|---|
private Execution |
AsyncExecution.execution
The execution this executes
|
private Execution |
FutureResult.execution
Only used for generating messages
|
private Execution |
Execution.Context.owner
Always set if this context belongs to an execution, never set if it does not.
|
Constructor and Description |
---|
AsyncExecution(com.yahoo.component.chain.Chain<? extends Searcher> chain,
Execution execution)
Creates an async execution.
|
AsyncExecution(Execution execution)
Creates an async execution from an existing execution.
|
Context(Execution owner)
Create a context which belongs to an execution
|
Execution(Execution execution)
Creates an execution from another.
|
FutureResult(Callable<Result> callable,
Execution execution,
Query query) |
Modifier and Type | Method and Description |
---|---|
Result |
ExampleSearcher.search(Query query,
Execution execution) |
Modifier and Type | Method and Description |
---|---|
void |
DocumentSourceSearcher.fill(Result result,
String summaryClass,
Execution execution) |
Result |
DocumentSourceSearcher.search(Query query,
Execution execution) |
Modifier and Type | Method and Description |
---|---|
Result |
ConnectionControlSearcher.search(Query query,
Execution execution) |
Result |
ValidateMatchPhaseSearcher.search(Query query,
Execution execution) |
Result |
InputCheckingSearcher.search(Query query,
Execution execution) |
Result |
CacheControlSearcher.search(Query query,
Execution execution) |
Result |
RateLimitingSearcher.search(Query query,
Execution execution) |
Modifier and Type | Method and Description |
---|---|
void |
TimingSearcher.fill(Result result,
String summaryClass,
Execution execution) |
Pong |
TimingSearcher.ping(Ping ping,
Execution execution) |
Result |
PeakQpsSearcher.search(Query query,
Execution execution) |
Result |
TimingSearcher.search(Query query,
Execution execution) |
Modifier and Type | Method and Description |
---|---|
void |
FieldFilter.fill(Result result,
String summaryClass,
Execution execution) |
void |
FieldFiller.fill(Result result,
String summaryClass,
Execution execution) |
Result |
MinimalQueryInserter.search(Query query,
Execution execution) |
Result |
FieldFilter.search(Query query,
Execution execution) |
Result |
FieldFiller.search(Query query,
Execution execution) |
Modifier and Type | Method and Description |
---|---|
Result |
VdsStreamingSearcher.doSearch2(Query query,
QueryPacket queryPacket,
CacheKey cacheKey,
Execution execution) |
Pong |
VdsStreamingSearcher.ping(Ping ping,
Execution execution) |
Result |
MetricsSearcher.search(Query query,
Execution execution) |
Copyright © 2018. All rights reserved.