Class LocalProvider

  • 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, java.io.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:
    Serialized Form
    • Constructor Detail

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

      • 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 java.lang.String getClusterName()
      • 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
      • setCacheSize

        public void setCacheSize​(java.lang.Integer cacheSize)
        For backward compatibility only, do not use.