All Implemented Interfaces:
Serializable, Comparable<FieldType>, Constable

public enum FieldType extends Enum<FieldType>
Rizwan Idrees, Mohsin Husen, Artur Konczak, Zeng Zetang, Peter-Josef Meisch, Aleksei Arsenev, Brian Kimmig, Morgan Lutz
  • Enum Constant Details

    • Auto

      public static final FieldType Auto
    • Text

      public static final FieldType Text
    • Keyword

      public static final FieldType Keyword
    • Long

      public static final FieldType Long
    • Integer

      public static final FieldType Integer
    • Short

      public static final FieldType Short
    • Byte

      public static final FieldType Byte
    • Double

      public static final FieldType Double
    • Float

      public static final FieldType Float
    • Half_Float

      public static final FieldType Half_Float
    • Scaled_Float

      public static final FieldType Scaled_Float
    • Date

      public static final FieldType Date
    • Date_Nanos

      public static final FieldType Date_Nanos
    • Boolean

      public static final FieldType Boolean
    • Binary

      public static final FieldType Binary
    • Integer_Range

      public static final FieldType Integer_Range
    • Float_Range

      public static final FieldType Float_Range
    • Long_Range

      public static final FieldType Long_Range
    • Double_Range

      public static final FieldType Double_Range
    • Date_Range

      public static final FieldType Date_Range
    • Ip_Range

      public static final FieldType Ip_Range
    • Object

      public static final FieldType Object
    • Nested

      public static final FieldType Nested
    • Ip

      public static final FieldType Ip
    • TokenCount

      public static final FieldType TokenCount
    • Percolator

      public static final FieldType Percolator
    • Flattened

      public static final FieldType Flattened
    • Search_As_You_Type

      public static final FieldType Search_As_You_Type
    • Rank_Feature

      public static final FieldType Rank_Feature
    • Rank_Features

      public static final FieldType Rank_Features
    • Wildcard

      public static final FieldType Wildcard
      since 4.2
    • Dense_Vector

      public static final FieldType Dense_Vector
  • Method Details

    • values

      public static FieldType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FieldType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getMappedName

      public String getMappedName()