Enum FieldFlag

    • Enum Constant Detail

      • INDEXED

        public static final FieldFlag INDEXED
      • TOKENIZED

        public static final FieldFlag TOKENIZED
      • STORED

        public static final FieldFlag STORED
      • DOC_VALUES

        public static final FieldFlag DOC_VALUES
      • UNINVERTIBLE

        public static final FieldFlag UNINVERTIBLE
      • MULTI_VALUED

        public static final FieldFlag MULTI_VALUED
      • TERM_VECTOR_STORED

        public static final FieldFlag TERM_VECTOR_STORED
      • TERM_VECTOR_OFFSET

        public static final FieldFlag TERM_VECTOR_OFFSET
      • TERM_VECTOR_POSITION

        public static final FieldFlag TERM_VECTOR_POSITION
      • TERM_VECTOR_PAYLOADS

        public static final FieldFlag TERM_VECTOR_PAYLOADS
      • OMIT_NORMS

        public static final FieldFlag OMIT_NORMS
      • OMIT_TF

        public static final FieldFlag OMIT_TF
      • OMIT_POSITIONS

        public static final FieldFlag OMIT_POSITIONS
      • STORE_OFFSETS_WITH_POSITIONS

        public static final FieldFlag STORE_OFFSETS_WITH_POSITIONS
      • BINARY

        public static final FieldFlag BINARY
      • SORT_MISSING_FIRST

        public static final FieldFlag SORT_MISSING_FIRST
      • SORT_MISSING_LAST

        public static final FieldFlag SORT_MISSING_LAST
    • Method Detail

      • values

        public static FieldFlag[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (FieldFlag c : FieldFlag.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

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

        public static FieldFlag getFlag​(char abbrev)
      • getAbbreviation

        public char getAbbreviation()
      • getDisplay

        public String getDisplay()