Class StreamingSearcher

java.lang.Object
com.yahoo.component.AbstractComponent
com.yahoo.component.chain.ChainedComponent
com.yahoo.processing.Processor
All Implemented Interfaces:
com.yahoo.component.Component, com.yahoo.component.Deconstructable, Comparable<com.yahoo.component.Component>

public class StreamingSearcher 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
  • Constructor Details

    • StreamingSearcher

      public StreamingSearcher(com.yahoo.container.core.documentapi.VespaDocumentAccess access)
  • Method Details

    • 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 class VespaBackEndSearcher
    • 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 class VespaBackEndSearcher
      Parameters:
      query - the query to search
      execution - 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 class PingableSearcher