Package com.yahoo.vespa.model.content
Class ContentSearchCluster
java.lang.Object
com.yahoo.config.model.producer.AnyConfigProducer
com.yahoo.config.model.producer.TreeConfigProducer<AnyConfigProducer>
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 TreeConfigProducer<AnyConfigProducer>
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.AnyConfigProducer
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
void
setVisibilityDelay
(double delay) toString()
boolean
Methods inherited from class com.yahoo.config.model.producer.TreeConfigProducer
addChild, addDescendantService, getChildren, getChildrenByTypeRecursive, getConfigClassLoader, getDescendantServices, removeChild, validate
Methods inherited from class com.yahoo.config.model.producer.AnyConfigProducer
addConfigId, addUserConfig, cascadeConfig, currentConfigId, findInheritedClassLoader, getConfigId, getMonitoringService, getParent, getRoot, getSubId, getUserConfigs, hostSystem, mergeUserConfigs, remove, setParent, setUserConfigs, stateIsHosted
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.yahoo.vespa.model.ConfigProducer
dump
-
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() -
getIndexingDocproc
-
setupStreamingSearchIndexingDocProc
public void setupStreamingSearchIndexingDocProc() -
getClusterName
-
toString
-