Enum UninvertingReader.Type
- java.lang.Object
-
- java.lang.Enum<UninvertingReader.Type>
-
- org.apache.solr.uninverting.UninvertingReader.Type
-
- All Implemented Interfaces:
Serializable,Comparable<UninvertingReader.Type>
- Enclosing class:
- UninvertingReader
public static enum UninvertingReader.Type extends Enum<UninvertingReader.Type>
Specifies the type of uninversion to apply for the field.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BINARYSingle-valued Binary, (e.g.DOUBLE_POINTSingle-valued Integer, (e.g.FLOAT_POINTSingle-valued Integer, (e.g.INTEGER_POINTSingle-valued Integer, (e.g.LEGACY_DOUBLEDeprecated.Index with points and useDOUBLE_POINTinstead.LEGACY_FLOATDeprecated.Index with points and useFLOAT_POINTinstead.LEGACY_INTEGERDeprecated.Index with points and useINTEGER_POINTinstead.LEGACY_LONGDeprecated.Index with points and useLONG_POINTinstead.LONG_POINTSingle-valued Integer, (e.g.SORTEDSingle-valued Binary, (e.g.SORTED_SET_BINARYMulti-valued Binary, (e.g.SORTED_SET_DOUBLEMulti-valued Double, (e.g.SORTED_SET_FLOATMulti-valued Float, (e.g.SORTED_SET_INTEGERMulti-valued Integer, (e.g.SORTED_SET_LONGMulti-valued Long, (e.g.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UninvertingReader.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static UninvertingReader.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INTEGER_POINT
public static final UninvertingReader.Type INTEGER_POINT
Single-valued Integer, (e.g. indexed withIntPoint)Fields with this type act as if they were indexed with
NumericDocValuesField.
-
LONG_POINT
public static final UninvertingReader.Type LONG_POINT
Single-valued Integer, (e.g. indexed withLongPoint)Fields with this type act as if they were indexed with
NumericDocValuesField.
-
FLOAT_POINT
public static final UninvertingReader.Type FLOAT_POINT
Single-valued Integer, (e.g. indexed withFloatPoint)Fields with this type act as if they were indexed with
NumericDocValuesField.
-
DOUBLE_POINT
public static final UninvertingReader.Type DOUBLE_POINT
Single-valued Integer, (e.g. indexed withDoublePoint)Fields with this type act as if they were indexed with
NumericDocValuesField.
-
LEGACY_INTEGER
@Deprecated public static final UninvertingReader.Type LEGACY_INTEGER
Deprecated.Index with points and useINTEGER_POINTinstead.Single-valued Integer, (e.g. indexed withLegacyIntField)Fields with this type act as if they were indexed with
NumericDocValuesField.
-
LEGACY_LONG
@Deprecated public static final UninvertingReader.Type LEGACY_LONG
Deprecated.Index with points and useLONG_POINTinstead.Single-valued Long, (e.g. indexed withLegacyLongField)Fields with this type act as if they were indexed with
NumericDocValuesField.
-
LEGACY_FLOAT
@Deprecated public static final UninvertingReader.Type LEGACY_FLOAT
Deprecated.Index with points and useFLOAT_POINTinstead.Single-valued Float, (e.g. indexed withLegacyFloatField)Fields with this type act as if they were indexed with
NumericDocValuesField.
-
LEGACY_DOUBLE
@Deprecated public static final UninvertingReader.Type LEGACY_DOUBLE
Deprecated.Index with points and useDOUBLE_POINTinstead.Single-valued Double, (e.g. indexed withLegacyDoubleField)Fields with this type act as if they were indexed with
NumericDocValuesField.
-
BINARY
public static final UninvertingReader.Type BINARY
Single-valued Binary, (e.g. indexed withStringField)Fields with this type act as if they were indexed with
BinaryDocValuesField.
-
SORTED
public static final UninvertingReader.Type SORTED
Single-valued Binary, (e.g. indexed withStringField)Fields with this type act as if they were indexed with
SortedDocValuesField.
-
SORTED_SET_BINARY
public static final UninvertingReader.Type SORTED_SET_BINARY
Multi-valued Binary, (e.g. indexed withStringField)Fields with this type act as if they were indexed with
SortedSetDocValuesField.
-
SORTED_SET_INTEGER
public static final UninvertingReader.Type SORTED_SET_INTEGER
Multi-valued Integer, (e.g. indexed withLegacyIntField)Fields with this type act as if they were indexed with
SortedSetDocValuesField.
-
SORTED_SET_FLOAT
public static final UninvertingReader.Type SORTED_SET_FLOAT
Multi-valued Float, (e.g. indexed withLegacyFloatField)Fields with this type act as if they were indexed with
SortedSetDocValuesField.
-
SORTED_SET_LONG
public static final UninvertingReader.Type SORTED_SET_LONG
Multi-valued Long, (e.g. indexed withLegacyLongField)Fields with this type act as if they were indexed with
SortedSetDocValuesField.
-
SORTED_SET_DOUBLE
public static final UninvertingReader.Type SORTED_SET_DOUBLE
Multi-valued Double, (e.g. indexed withLegacyDoubleField)Fields with this type act as if they were indexed with
SortedSetDocValuesField.
-
-
Method Detail
-
values
public static UninvertingReader.Type[] 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 (UninvertingReader.Type c : UninvertingReader.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UninvertingReader.Type 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
-
-