|
@@ -71,8 +71,8 @@ import org.elasticsearch.core.SuppressForbidden;
|
|
|
*
|
|
|
* Controls the maximum percentage of deleted documents that is tolerated in
|
|
|
* the index. Lower values make the index more space efficient at the
|
|
|
- * expense of increased CPU and I/O activity. Values must be between <code>20</code> and
|
|
|
- * <code>50</code>. Default value is <code>33</code>.
|
|
|
+ * expense of increased CPU and I/O activity. Values must be between <code>5</code> and
|
|
|
+ * <code>50</code>. Default value is <code>20</code>.
|
|
|
* </ul>
|
|
|
*
|
|
|
* <p>
|
|
@@ -110,7 +110,7 @@ public final class MergePolicyConfig {
|
|
|
public static final int DEFAULT_MAX_MERGE_AT_ONCE = 10;
|
|
|
public static final ByteSizeValue DEFAULT_MAX_MERGED_SEGMENT = new ByteSizeValue(5, ByteSizeUnit.GB);
|
|
|
public static final double DEFAULT_SEGMENTS_PER_TIER = 10.0d;
|
|
|
- public static final double DEFAULT_DELETES_PCT_ALLOWED = 33.0d;
|
|
|
+ public static final double DEFAULT_DELETES_PCT_ALLOWED = 20.0d;
|
|
|
private static final String INDEX_COMPOUND_FORMAT_SETTING_KEY = "index.compound_format";
|
|
|
public static final Setting<CompoundFileThreshold> INDEX_COMPOUND_FORMAT_SETTING = new Setting<>(
|
|
|
INDEX_COMPOUND_FORMAT_SETTING_KEY,
|
|
@@ -164,7 +164,7 @@ public final class MergePolicyConfig {
|
|
|
public static final Setting<Double> INDEX_MERGE_POLICY_DELETES_PCT_ALLOWED_SETTING = Setting.doubleSetting(
|
|
|
"index.merge.policy.deletes_pct_allowed",
|
|
|
DEFAULT_DELETES_PCT_ALLOWED,
|
|
|
- 20.0d,
|
|
|
+ 5.0d,
|
|
|
50.0d,
|
|
|
Property.Dynamic,
|
|
|
Property.IndexScope
|