Class Provider
- 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
-
- All Implemented Interfaces:
com.yahoo.config.ConfigInstance.Producer
,ConfigProducer
,java.io.Serializable
- Direct Known Subclasses:
GenericProvider
,LocalProvider
public class Provider extends GenericTarget
Base config producer for search chains that communicate with backends.- Author:
- Tony Vaagenes
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.yahoo.config.model.producer.AbstractConfigProducer
log
-
-
Constructor Summary
Constructors Constructor Description Provider(com.yahoo.component.chain.model.ChainSpecification specWithoutInnerSearchers, com.yahoo.search.searchchain.model.federation.FederationOptions federationOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addSource(Source source)
java.util.Collection<? extends GenericTarget>
defaultFederationTargets()
java.util.Collection<Source>
getSources()
protected boolean
useByDefault()
The value for useByDefault in case the user have not specified any-
Methods inherited from class com.yahoo.vespa.model.container.search.searchchain.GenericTarget
federationOptions
-
Methods inherited from class com.yahoo.vespa.model.container.search.searchchain.SearchChain
getDocumentTypes, toString
-
Methods inherited from class com.yahoo.vespa.model.container.component.chain.Chain
addInnerComponent, getChainSpecification, 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, removeChild, setParent, setUserConfigs, stateIsHosted, validate
-
-
-
-
Method Detail
-
addSource
public void addSource(Source source)
-
getSources
public java.util.Collection<Source> getSources()
-
useByDefault
protected boolean useByDefault()
Description copied from class:GenericTarget
The value for useByDefault in case the user have not specified any- Specified by:
useByDefault
in classGenericTarget
-
defaultFederationTargets
public java.util.Collection<? extends GenericTarget> defaultFederationTargets()
-
-