Class 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
    • Constructor Detail

      • VdsStreamingSearcher

        public VdsStreamingSearcher​(com.yahoo.container.core.documentapi.VespaDocumentAccess access)
    • Method Detail

      • setSearchClusterName

        public final void setSearchClusterName​(String clusterName)
      • setDocumentType

        public final void setDocumentType​(String documentType)
      • setStorageClusterRouteSpec

        public final void setStorageClusterRouteSpec​(String storageClusterRouteSpec)
      • 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