Class Mapper.IgnoreAbove

java.lang.Object
org.elasticsearch.index.mapper.Mapper.IgnoreAbove
Enclosing class:
Mapper

public static final class Mapper.IgnoreAbove extends Object
This class models the ignore_above parameter in indices.
  • Field Details

    • IGNORE_ABOVE_DEFAULT_VALUE

      public static final int IGNORE_ABOVE_DEFAULT_VALUE
      See Also:
    • IGNORE_ABOVE_DEFAULT_VALUE_FOR_LOGSDB_INDICES

      public static final int IGNORE_ABOVE_DEFAULT_VALUE_FOR_LOGSDB_INDICES
      See Also:
  • Constructor Details

  • Method Details

    • get

      public int get()
    • isSet

      public boolean isSet()
      Returns whether ignore_above is set; at field or index level.
    • isIgnored

      public boolean isIgnored(String s)
      Returns whether the given string will be ignored.
    • isIgnored

      public boolean isIgnored(XContentString s)
    • getIgnoreAboveDefaultValue

      public static int getIgnoreAboveDefaultValue(IndexMode indexMode, IndexVersion indexCreatedVersion)