Class SearchStatsSettings

java.lang.Object
org.elasticsearch.index.search.stats.SearchStatsSettings

public class SearchStatsSettings extends Object
Container for cluster settings
  • Field Details

    • RECENT_READ_LOAD_HALF_LIFE_DEFAULT

      public static final TimeValue RECENT_READ_LOAD_HALF_LIFE_DEFAULT
    • RECENT_READ_LOAD_HALF_LIFE_SETTING

      public static final Setting<TimeValue> RECENT_READ_LOAD_HALF_LIFE_SETTING
      A cluster setting giving the half-life, in seconds, to use for the Exponentially Weighted Moving Rate calculation used for the recency-weighted read load

      This is dynamic, but changes only apply to newly-opened shards.

  • Constructor Details

    • SearchStatsSettings

      public SearchStatsSettings(ClusterSettings clusterSettings)
  • Method Details

    • getRecentReadLoadHalfLifeForNewShards

      public TimeValue getRecentReadLoadHalfLifeForNewShards()