public class VdsStreamingSearcher extends VespaBackEndSearcher
VespaBackEndSearcher.FillHitsResult
Modifier and Type | Field and Description |
---|---|
static String |
STREAMING_STATISTICS |
cacheControl, TRACE_DISABLE
Constructor and Description |
---|
VdsStreamingSearcher() |
VdsStreamingSearcher(com.yahoo.vespa.streamingvisitors.VisitorFactory visitorFactory) |
Modifier and Type | Method and Description |
---|---|
protected void |
doPartialFill(Result result,
String summaryClass) |
Result |
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.
|
Pong |
ping(Ping ping,
Execution execution)
Send a ping request downwards to probe if this searcher chain is in functioning order
|
void |
setDocumentType(String documentType) |
void |
setSearchClusterConfigId(String clusterName) |
void |
setStorageClusterRouteSpec(String storageClusterRouteSpec) |
createQueryPacket, fill, fillHits, getCacheControl, getDefaultDocsumClass, getDocsumDefinitionSet, getDocumentDatabase, getLogger, getName, getSearcher, init, isLoggingFine, search, summaryNeedsQuery, transformQuery
ensureFilled, process, toString
getAnnotatedDependencies, getDefaultAnnotatedDependencies, getDependencies, initDependencies
public static final String STREAMING_STATISTICS
public VdsStreamingSearcher()
public VdsStreamingSearcher(com.yahoo.vespa.streamingvisitors.VisitorFactory visitorFactory)
public final void setSearchClusterConfigId(String clusterName)
public final void setDocumentType(String documentType)
public final void setStorageClusterRouteSpec(String storageClusterRouteSpec)
protected void doPartialFill(Result result, String summaryClass)
doPartialFill
in class VespaBackEndSearcher
public Result doSearch2(Query query, QueryPacket queryPacket, CacheKey cacheKey, Execution execution)
VespaBackEndSearcher
doSearch2
in class VespaBackEndSearcher
query
- the query to searchqueryPacket
- the serialized query representation to pass to the search clustercacheKey
- the cache key created from the query packet, or null if caching is not usedexecution
- the query execution contextpublic Pong ping(Ping ping, Execution execution)
PingableSearcher
ping
in class PingableSearcher
Copyright © 2018. All rights reserved.