All Implemented Interfaces:
com.yahoo.config.ConfigInstance.Producer, com.yahoo.prelude.cluster.QrMonitorConfig.Producer, com.yahoo.prelude.fastsearch.DocumentdbInfoConfig.Producer, com.yahoo.search.config.ClusterConfig.Producer, com.yahoo.vespa.config.search.AttributesConfig.Producer, com.yahoo.vespa.config.search.RankProfilesConfig.Producer, ConfigProducer, Serializable

public class LocalProvider extends Provider implements com.yahoo.prelude.fastsearch.DocumentdbInfoConfig.Producer, com.yahoo.search.config.ClusterConfig.Producer, com.yahoo.vespa.config.search.AttributesConfig.Producer, com.yahoo.prelude.cluster.QrMonitorConfig.Producer, com.yahoo.vespa.config.search.RankProfilesConfig.Producer
Config producer for search chain responsible for sending queries to a local cluster.
Author:
Tony Vaagenes
See Also:
  • Constructor Details

    • LocalProvider

      public LocalProvider(com.yahoo.component.chain.model.ChainSpecification specWithoutInnerSearchers, com.yahoo.search.searchchain.model.federation.FederationOptions federationOptions, com.yahoo.search.searchchain.model.federation.LocalProviderSpec providerSpec)
  • Method Details

    • getConfig

      public void getConfig(com.yahoo.search.config.ClusterConfig.Builder builder)
      Specified by:
      getConfig in interface com.yahoo.search.config.ClusterConfig.Producer
    • getConfig

      public void getConfig(com.yahoo.vespa.config.search.RankProfilesConfig.Builder builder)
      Specified by:
      getConfig in interface com.yahoo.vespa.config.search.RankProfilesConfig.Producer
    • getConfig

      public void getConfig(com.yahoo.vespa.config.search.AttributesConfig.Builder builder)
      Specified by:
      getConfig in interface com.yahoo.vespa.config.search.AttributesConfig.Producer
    • getConfig

      public void getConfig(com.yahoo.prelude.cluster.QrMonitorConfig.Builder builder)
      Specified by:
      getConfig in interface com.yahoo.prelude.cluster.QrMonitorConfig.Producer
    • getChainSpecification

      public com.yahoo.component.chain.model.ChainSpecification getChainSpecification()
      Overrides:
      getChainSpecification in class Chain<Searcher<?>>
    • getClusterName

      public String getClusterName()
    • getDocumentTypes

      public List<String> getDocumentTypes()
      Overrides:
      getDocumentTypes in class SearchChain
    • federationOptions

      public com.yahoo.search.searchchain.model.federation.FederationOptions federationOptions()
      Overrides:
      federationOptions in class GenericTarget
    • getConfig

      public void getConfig(com.yahoo.prelude.fastsearch.DocumentdbInfoConfig.Builder builder)
      Specified by:
      getConfig in interface com.yahoo.prelude.fastsearch.DocumentdbInfoConfig.Producer