Package com.yahoo.vespa.model.content
Class ContentSearchCluster
java.lang.Object
com.yahoo.config.model.producer.AbstractConfigProducer<SearchCluster>
com.yahoo.vespa.model.content.ContentSearchCluster
- All Implemented Interfaces:
com.yahoo.config.ConfigInstance.Producer
,com.yahoo.vespa.config.search.core.ProtonConfig.Producer
,com.yahoo.vespa.config.search.DispatchConfig.Producer
,com.yahoo.vespa.config.search.DispatchNodesConfig.Producer
,ConfigProducer
,Serializable
public class ContentSearchCluster
extends AbstractConfigProducer<SearchCluster>
implements com.yahoo.vespa.config.search.core.ProtonConfig.Producer, com.yahoo.vespa.config.search.DispatchNodesConfig.Producer, com.yahoo.vespa.config.search.DispatchConfig.Producer
Encapsulates the various options for search in a content model.
Wraps a search cluster from com.yahoo.vespa.model.search.
- See Also:
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.yahoo.config.model.producer.AbstractConfigProducer
log
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSearchNode
(DeployState deployState, ContentNode node, StorageGroup parentGroup, ModelElement element) void
getConfig
(com.yahoo.vespa.config.search.core.ProtonConfig.Builder builder) void
getConfig
(com.yahoo.vespa.config.search.DispatchConfig.Builder builder) void
getConfig
(com.yahoo.vespa.config.search.DispatchNodesConfig.Builder builder) void
handleRedundancy
(Redundancy redundancy) boolean
void
void
setVisibilityDelay
(double delay) toString()
boolean
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
-
Method Details
-
setVisibilityDelay
public void setVisibilityDelay(double delay) -
getSearchNodes
-
addSearchNode
public void addSearchNode(DeployState deployState, ContentNode node, StorageGroup parentGroup, ModelElement element) -
setTuning
-
usesHierarchicDistribution
public boolean usesHierarchicDistribution() -
handleRedundancy
-
getStreamingClusters
-
getDocumentTypesWithStreamingCluster
-
getDocumentTypesWithIndexedCluster
-
getDocumentTypesWithStoreOnly
-
getConfig
public void getConfig(com.yahoo.vespa.config.search.core.ProtonConfig.Builder builder) - Specified by:
getConfig
in interfacecom.yahoo.vespa.config.search.core.ProtonConfig.Producer
-
getConfig
public void getConfig(com.yahoo.vespa.config.search.DispatchNodesConfig.Builder builder) - Specified by:
getConfig
in interfacecom.yahoo.vespa.config.search.DispatchNodesConfig.Producer
-
getConfig
public void getConfig(com.yahoo.vespa.config.search.DispatchConfig.Builder builder) - Specified by:
getConfig
in interfacecom.yahoo.vespa.config.search.DispatchConfig.Producer
-
getClusters
-
getIndexed
-
hasIndexedCluster
public boolean hasIndexedCluster() -
getClusterName
-
toString
-