Package org.apache.solr.common.luke
Enum FieldFlag
- java.lang.Object
-
- java.lang.Enum<FieldFlag>
-
- org.apache.solr.common.luke.FieldFlag
-
- All Implemented Interfaces:
Serializable
,Comparable<FieldFlag>
public enum FieldFlag extends Enum<FieldFlag>
- Since:
- solr 1.3
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description char
getAbbreviation()
String
getDisplay()
static FieldFlag
getFlag(char abbrev)
String
toString()
static FieldFlag
valueOf(String name)
Returns the enum constant of this type with the specified name.static FieldFlag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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
-
LAZY
public static final FieldFlag LAZY
-
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 nameNullPointerException
- if the argument is null
-
getFlag
public static FieldFlag getFlag(char abbrev)
-
getAbbreviation
public char getAbbreviation()
-
getDisplay
public String getDisplay()
-
-