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
,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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addSearchNode(DeployState deployState, ContentNode node, StorageGroup parentGroup, ModelElement element)
String
getClusterName()
Map<String,AbstractSearchCluster>
getClusters()
void
getConfig(com.yahoo.vespa.config.search.core.ProtonConfig.Builder builder)
void
getConfig(com.yahoo.vespa.config.search.DispatchConfig.Builder builder)
List<NewDocumentType>
getDocumentTypesWithIndexedCluster()
List<NewDocumentType>
getDocumentTypesWithStoreOnly()
List<NewDocumentType>
getDocumentTypesWithStreamingCluster()
IndexedSearchCluster
getIndexed()
List<SearchNode>
getSearchNodes()
List<StreamingSearchCluster>
getStreamingClusters()
void
handleRedundancy(Redundancy redundancy)
boolean
hasIndexedCluster()
void
setTuning(Tuning tuning)
void
setVisibilityDelay(double delay)
String
toString()
boolean
usesHierarchicDistribution()
-
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
-
setVisibilityDelay
public void setVisibilityDelay(double delay)
-
getSearchNodes
public 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 List<StreamingSearchCluster> getStreamingClusters()
-
getDocumentTypesWithStreamingCluster
public List<NewDocumentType> getDocumentTypesWithStreamingCluster()
-
getDocumentTypesWithIndexedCluster
public List<NewDocumentType> getDocumentTypesWithIndexedCluster()
-
getDocumentTypesWithStoreOnly
public 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 Map<String,AbstractSearchCluster> getClusters()
-
getIndexed
public IndexedSearchCluster getIndexed()
-
hasIndexedCluster
public boolean hasIndexedCluster()
-
getClusterName
public String getClusterName()
-
-