Enum Class DenseVectorIndexOptionsType
java.lang.Object
java.lang.Enum<DenseVectorIndexOptionsType>
co.elastic.clients.elasticsearch._types.mapping.DenseVectorIndexOptionsType
- All Implemented Interfaces:
JsonEnum,JsonpSerializable,Serializable,Comparable<DenseVectorIndexOptionsType>,Constable
@JsonpDeserializable
public enum DenseVectorIndexOptionsType
extends Enum<DenseVectorIndexOptionsType>
implements JsonEnum
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface co.elastic.clients.json.JsonEnum
JsonEnum.Deserializer<T extends JsonEnum> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis utilizes a brute-force search algorithm in addition to automatically quantizing to binary vectors.This utilizes the HNSW algorithm in addition to automatic binary quantization for scalable approximate kNN search withelement_typeoffloat.This utilizes a brute-force search algorithm for exact kNN search.This utilizes the HNSW algorithm for scalable approximate kNN search.This utilizes a brute-force search algorithm in addition to automatically half-byte scalar quantization.This utilizes the HNSW algorithm in addition to automatically scalar quantization for scalable approximate kNN search withelement_typeoffloat.This utilizes a brute-force search algorithm in addition to automatically scalar quantization.The default index type forfloatvectors. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic DenseVectorIndexOptionsTypeReturns the enum constant of this class with the specified name.static DenseVectorIndexOptionsType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BbqFlat
This utilizes a brute-force search algorithm in addition to automatically quantizing to binary vectors. Only supportselement_typeoffloat. -
BbqHnsw
This utilizes the HNSW algorithm in addition to automatic binary quantization for scalable approximate kNN search withelement_typeoffloat.This can reduce the memory footprint by nearly 32x at the cost of some accuracy.
-
Flat
This utilizes a brute-force search algorithm for exact kNN search. This supports allelement_typevalues. -
Hnsw
This utilizes the HNSW algorithm for scalable approximate kNN search. This supports allelement_typevalues. -
Int4Flat
This utilizes a brute-force search algorithm in addition to automatically half-byte scalar quantization. Only supportselement_typeoffloat. -
Int4Hnsw
This utilizes the HNSW algorithm in addition to automatically scalar quantization for scalable approximate kNN search withelement_typeoffloat.This can reduce the memory footprint by 8x at the cost of some accuracy.
-
Int8Flat
This utilizes a brute-force search algorithm in addition to automatically scalar quantization. Only supportselement_typeoffloat. -
Int8Hnsw
The default index type forfloatvectors. This utilizes the HNSW algorithm in addition to automatically scalar quantization for scalable approximate kNN search withelement_typeoffloat.This can reduce the memory footprint by 4x at the cost of some accuracy.
-
-
Field Details
-
_DESERIALIZER
-
-
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
-
jsonValue
-