Class StreamingSearcher
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.StreamingSearcher
- All Implemented Interfaces:
com.yahoo.component.Component
,com.yahoo.component.Deconstructable
,Comparable<com.yahoo.component.Component>
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
-
Field Summary
Fields inherited from class com.yahoo.prelude.fastsearch.VespaBackEndSearcher
SORTABLE_ATTRIBUTES_SUMMARY_CLASS
Fields inherited from class com.yahoo.component.AbstractComponent
isDeconstructable
-
Constructor Summary
ConstructorDescriptionStreamingSearcher
(com.yahoo.container.core.documentapi.VespaDocumentAccess access) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
doPartialFill
(Result result, String summaryClass) Searches a search cluster This is an endpoint - searchers will never propagate the search to any nested searcher.Send a ping request downwards to probe if this searcher chain is in functioning orderfinal void
setDocumentType
(String documentType) final void
setSearchClusterName
(String clusterName) final void
setStorageClusterRouteSpec
(String storageClusterRouteSpec) Methods inherited from class com.yahoo.prelude.fastsearch.VespaBackEndSearcher
fill, fillHits, getDefaultDocsumClass, getDocsumDefinitionSet, getDocumentDatabase, getLogger, getName, getServerId, init, 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
Methods inherited from class com.yahoo.component.AbstractComponent
clone, compareTo, deconstruct, getClassName, getId, getIdString, hasInitializedId, initId, isDeconstructable, setIsDeconstructable
-
Constructor Details
-
StreamingSearcher
public StreamingSearcher(com.yahoo.container.core.documentapi.VespaDocumentAccess access)
-
-
Method Details
-
setSearchClusterName
-
setDocumentType
-
setStorageClusterRouteSpec
-
doPartialFill
- Specified by:
doPartialFill
in classVespaBackEndSearcher
-
doSearch2
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
Description copied from class:PingableSearcher
Send a ping request downwards to probe if this searcher chain is in functioning order- Overrides:
ping
in classPingableSearcher
-