Class 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:
  • Method Details

    • 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 interface com.yahoo.vespa.config.search.core.ProtonConfig.Producer
    • getConfig

      public void getConfig(com.yahoo.vespa.config.search.DispatchNodesConfig.Builder builder)
      Specified by:
      getConfig in interface com.yahoo.vespa.config.search.DispatchNodesConfig.Producer
    • getConfig

      public void getConfig(com.yahoo.vespa.config.search.DispatchConfig.Builder builder)
      Specified by:
      getConfig in interface com.yahoo.vespa.config.search.DispatchConfig.Producer
    • getClusters

      public Map<String,SearchCluster> getClusters()
    • getIndexed

      public IndexedSearchCluster getIndexed()
    • hasIndexedCluster

      public boolean hasIndexedCluster()
    • getClusterName

      public String getClusterName()
    • toString

      public String toString()
      Overrides:
      toString in class Object