Class StreamingBackend
java.lang.Object
com.yahoo.prelude.fastsearch.VespaBackend
com.yahoo.vespa.streamingvisitors.StreamingBackend
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 ClassesNested classes/interfaces inherited from class com.yahoo.prelude.fastsearch.VespaBackend
VespaBackend.DispatchPhase -
Field Summary
Fields inherited from class com.yahoo.prelude.fastsearch.VespaBackend
SORTABLE_ATTRIBUTES_SUMMARY_CLASS -
Constructor Summary
ConstructorsConstructorDescriptionStreamingBackend(ClusterParams clusterParams, String searchClusterName, com.yahoo.container.core.documentapi.VespaDocumentAccess access, String storageClusterRouteSpec) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoPartialFill(Result result, String summaryClass) Searches a search cluster This is an endpoint - searchers will never propagate the search to any nested searcher.protected StreamingBackend.FillHitsResultfillHits(Result result, DocsumPacket[] packets, String summaryClass) Fills the hits.Methods inherited from class com.yahoo.prelude.fastsearch.VespaBackend
ensureLegalSummaryClass, fill, getDefaultDocsumClass, getDocumentDatabase, getName, getServerId, iterableHits, search, shutDown, summaryNeedsQuery, transformQuery
-
Constructor Details
-
StreamingBackend
public StreamingBackend(ClusterParams clusterParams, String searchClusterName, com.yahoo.container.core.documentapi.VespaDocumentAccess access, String storageClusterRouteSpec)
-
-
Method Details
-
doPartialFill
- Specified by:
doPartialFillin classVespaBackend
-
doSearch2
Description copied from class:VespaBackendSearches a search cluster This is an endpoint - searchers will never propagate the search to any nested searcher.- Specified by:
doSearch2in classVespaBackendquery- the query to search
-
ping
-
fillHits
protected StreamingBackend.FillHitsResult fillHits(Result result, DocsumPacket[] packets, String summaryClass) Fills the hits.- Returns:
- the number of hits that we did not return data for, and an optional error message. when things are working normally we return 0.
-