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
,ConfigProducer
,java.io.Serializable
public class ContentSearchCluster extends AbstractConfigProducer<SearchCluster> implements com.yahoo.vespa.config.search.core.ProtonConfig.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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ContentSearchCluster.Builder
-
Field Summary
-
Fields inherited from class com.yahoo.config.model.producer.AbstractConfigProducer
log
-
-
Method Summary
-
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 Detail
-
prepare
public void prepare()
-
setVisibilityDelay
public void setVisibilityDelay(double delay)
-
getSearchNodes
public java.util.List<SearchNode> getSearchNodes()
-
addSearchNode
public void addSearchNode(DeployState deployState, ContentNode node, StorageGroup parentGroup, ModelElement element)
-
setTuning
public void setTuning(Tuning tuning)
-
usesHierarchicDistribution
public boolean usesHierarchicDistribution()
-
handleRedundancy
public void handleRedundancy(Redundancy redundancy)
-
getStreamingClusters
public java.util.List<StreamingSearchCluster> getStreamingClusters()
-
getDocumentTypesWithStreamingCluster
public java.util.List<NewDocumentType> getDocumentTypesWithStreamingCluster()
-
getDocumentTypesWithIndexedCluster
public java.util.List<NewDocumentType> getDocumentTypesWithIndexedCluster()
-
getDocumentTypesWithStoreOnly
public java.util.List<NewDocumentType> 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.DispatchConfig.Builder builder)
- Specified by:
getConfig
in interfacecom.yahoo.vespa.config.search.DispatchConfig.Producer
-
getClusters
public java.util.Map<java.lang.String,AbstractSearchCluster> getClusters()
-
getIndexed
public IndexedSearchCluster getIndexed()
-
hasIndexedCluster
public boolean hasIndexedCluster()
-
getClusterName
public java.lang.String getClusterName()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-