Class VdsStreamingSearcher
- java.lang.Object
-
- com.yahoo.component.AbstractComponent
-
- com.yahoo.component.chain.ChainedComponent
-
- com.yahoo.processing.Processor
-
- com.yahoo.search.Searcher
-
- com.yahoo.search.cluster.PingableSearcher
-
- com.yahoo.prelude.fastsearch.VespaBackEndSearcher
-
- com.yahoo.vespa.streamingvisitors.VdsStreamingSearcher
-
- All Implemented Interfaces:
com.yahoo.component.Component
,com.yahoo.component.Deconstructable
,Comparable<com.yahoo.component.Component>
public class VdsStreamingSearcher extends VespaBackEndSearcher
The searcher which forwards queries to storage nodes using visiting. The searcher is a visitor client responsible for starting search visitors in storage and collecting and merging the results.- Author:
- baldersheim, Ulf Carlin
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.yahoo.prelude.fastsearch.VespaBackEndSearcher
VespaBackEndSearcher.FillHitsResult
-
-
Constructor Summary
Constructors Constructor Description VdsStreamingSearcher(com.yahoo.container.core.documentapi.VespaDocumentAccess access)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doPartialFill(Result result, String summaryClass)
Result
doSearch2(Query query, Execution execution)
Searches a search cluster This is an endpoint - searchers will never propagate the search to any nested searcher.Pong
ping(Ping ping, Execution execution)
Send a ping request downwards to probe if this searcher chain is in functioning ordervoid
setDocumentType(String documentType)
void
setSearchClusterName(String clusterName)
void
setStorageClusterRouteSpec(String storageClusterRouteSpec)
-
Methods inherited from class com.yahoo.prelude.fastsearch.VespaBackEndSearcher
fill, fillHits, getDefaultDocsumClass, getDocsumDefinitionSet, getDocumentDatabase, getLogger, getName, getServerId, init, isLoggingFine, search, shutDown, summaryNeedsQuery, transformQuery
-
Methods inherited from class com.yahoo.search.Searcher
ensureFilled, process, toString
-
Methods inherited from class com.yahoo.component.chain.ChainedComponent
getAnnotatedDependencies, getDefaultAnnotatedDependencies, getDependencies, initDependencies
-
-
-
-
Method Detail
-
setSearchClusterName
public final void setSearchClusterName(String clusterName)
-
setDocumentType
public final void setDocumentType(String documentType)
-
setStorageClusterRouteSpec
public final void setStorageClusterRouteSpec(String storageClusterRouteSpec)
-
doPartialFill
protected void doPartialFill(Result result, String summaryClass)
- Specified by:
doPartialFill
in classVespaBackEndSearcher
-
doSearch2
public Result doSearch2(Query query, Execution execution)
Description copied from class:VespaBackEndSearcher
Searches a search cluster This is an endpoint - searchers will never propagate the search to any nested searcher.- Specified by:
doSearch2
in classVespaBackEndSearcher
- Parameters:
query
- the query to searchexecution
- the query execution context
-
ping
public Pong ping(Ping ping, Execution execution)
Description copied from class:PingableSearcher
Send a ping request downwards to probe if this searcher chain is in functioning order- Overrides:
ping
in classPingableSearcher
-
-