Class LocalProvider
java.lang.Object
com.yahoo.config.model.producer.AbstractConfigProducer<AbstractConfigProducer<?>>
com.yahoo.vespa.model.container.component.chain.Chain<Searcher<?>>
com.yahoo.vespa.model.container.search.searchchain.SearchChain
com.yahoo.vespa.model.container.search.searchchain.GenericTarget
com.yahoo.vespa.model.container.search.searchchain.Provider
com.yahoo.vespa.model.container.search.searchchain.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
,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:
-
Field Summary
Fields inherited from class com.yahoo.config.model.producer.AbstractConfigProducer
log
-
Constructor Summary
ConstructorDescriptionLocalProvider
(com.yahoo.component.chain.model.ChainSpecification specWithoutInnerSearchers, com.yahoo.search.searchchain.model.federation.FederationOptions federationOptions, com.yahoo.search.searchchain.model.federation.LocalProviderSpec providerSpec) -
Method Summary
Modifier and TypeMethodDescriptioncom.yahoo.search.searchchain.model.federation.FederationOptions
com.yahoo.component.chain.model.ChainSpecification
void
getConfig
(com.yahoo.prelude.cluster.QrMonitorConfig.Builder builder) void
getConfig
(com.yahoo.prelude.fastsearch.DocumentdbInfoConfig.Builder builder) void
getConfig
(com.yahoo.search.config.ClusterConfig.Builder builder) void
getConfig
(com.yahoo.vespa.config.search.AttributesConfig.Builder builder) void
getConfig
(com.yahoo.vespa.config.search.RankProfilesConfig.Builder builder) Methods inherited from class com.yahoo.vespa.model.container.search.searchchain.Provider
addSource, defaultFederationTargets, getSources, useByDefault
Methods inherited from class com.yahoo.vespa.model.container.search.searchchain.SearchChain
toString
Methods inherited from class com.yahoo.vespa.model.container.component.chain.Chain
addInnerComponent, getComponentId, getGlobalComponentId, getId, getInnerComponents, getType
Methods inherited from class com.yahoo.config.model.producer.AbstractConfigProducer
addChild, addConfigId, addDescendantService, addUserConfig, cascadeConfig, dump, getChildren, getChildrenByTypeRecursive, getConfigClassLoader, getConfigId, getDescendantServices, getMonitoringService, getParent, getRoot, getSubId, getUserConfigs, hostSystem, mergeUserConfigs, remove, removeChild, setParent, setUserConfigs, stateIsHosted, validate
-
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 interfacecom.yahoo.search.config.ClusterConfig.Producer
-
getConfig
public void getConfig(com.yahoo.vespa.config.search.RankProfilesConfig.Builder builder) - Specified by:
getConfig
in interfacecom.yahoo.vespa.config.search.RankProfilesConfig.Producer
-
getConfig
public void getConfig(com.yahoo.vespa.config.search.AttributesConfig.Builder builder) - Specified by:
getConfig
in interfacecom.yahoo.vespa.config.search.AttributesConfig.Producer
-
getConfig
public void getConfig(com.yahoo.prelude.cluster.QrMonitorConfig.Builder builder) - Specified by:
getConfig
in interfacecom.yahoo.prelude.cluster.QrMonitorConfig.Producer
-
getChainSpecification
public com.yahoo.component.chain.model.ChainSpecification getChainSpecification()- Overrides:
getChainSpecification
in classChain<Searcher<?>>
-
getClusterName
-
getDocumentTypes
- Overrides:
getDocumentTypes
in classSearchChain
-
federationOptions
public com.yahoo.search.searchchain.model.federation.FederationOptions federationOptions()- Overrides:
federationOptions
in classGenericTarget
-
getConfig
public void getConfig(com.yahoo.prelude.fastsearch.DocumentdbInfoConfig.Builder builder) - Specified by:
getConfig
in interfacecom.yahoo.prelude.fastsearch.DocumentdbInfoConfig.Producer
-