File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
server/src/main/java/org/elasticsearch/index/mapper Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ default boolean supportsVersion(IndexVersion indexCreatedVersion) {
136136 * This class models the ignore_above parameter in indices.
137137 */
138138 public static final class IgnoreAbove {
139- // We use Integer.MAX_VALUE to represent a no-op, ignoring no values.
139+ // We use Integer.MAX_VALUE to represent a no-op, accepting all values.
140140 public static final int IGNORE_ABOVE_DEFAULT_VALUE = Integer .MAX_VALUE ;
141141 public static final int IGNORE_ABOVE_DEFAULT_VALUE_FOR_LOGSDB_INDICES = 8191 ;
142142
@@ -176,7 +176,7 @@ public boolean isSet() {
176176 * Returns whether values are potentially ignored, either by an explicitly configured ignore_above or by the default value.
177177 */
178178 public boolean valuesPotentiallyIgnored () {
179- // We use Integer.MAX_VALUE to represent ignoring no values. If the value is anything else, then either we have an
179+ // We use Integer.MAX_VALUE to represent accepting all values. If the value is anything else, then either we have an
180180 // explicitly configured ignore_above, or we have a non no-op default.
181181 return get () != Integer .MAX_VALUE ;
182182 }
You can’t perform that action at this time.
0 commit comments