Module org.elasticsearch.server
Package org.elasticsearch.index.mapper
Enum Class FieldMapper.DocValuesParameter.Values.MultiValue
java.lang.Object
java.lang.Enum<FieldMapper.DocValuesParameter.Values.MultiValue>
org.elasticsearch.index.mapper.FieldMapper.DocValuesParameter.Values.MultiValue
- All Implemented Interfaces:
Serializable,Comparable<FieldMapper.DocValuesParameter.Values.MultiValue>,Constable
- Enclosing class:
FieldMapper.DocValuesParameter.Values
public static enum FieldMapper.DocValuesParameter.Values.MultiValue
extends Enum<FieldMapper.DocValuesParameter.Values.MultiValue>
Controls how multiple values per document are handled in doc values.
NO restricts the field to a single value per document.
SORTED stores multiple values sorted per document (numeric types).
SORTED_SET stores multiple values sorted and deduplicated per document (keyword/IP types).
ARRAYS allows multiple values, keeps original ordering, and supports null values.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
-
Enum Constant Details
-
NO
-
SORTED
-
SORTED_SET
-
ARRAYS
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
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.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<FieldMapper.DocValuesParameter.Values.MultiValue>
-