Class VectorSearchCompressionKind
java.lang.Object
com.azure.core.util.ExpandableStringEnum<VectorSearchCompressionKind>
com.azure.search.documents.indexes.models.VectorSearchCompressionKind
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class VectorSearchCompressionKind
extends com.azure.core.util.ExpandableStringEnum<VectorSearchCompressionKind>
The compression method used for indexing and querying.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final VectorSearchCompressionKindBinary Quantization, a type of compression method.static final VectorSearchCompressionKindScalar Quantization, a type of compression method. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VectorSearchCompressionKindfromString(String name) Creates or finds a VectorSearchCompressionKind from its string representation.values()Gets known VectorSearchCompressionKind values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
SCALAR_QUANTIZATION
Scalar Quantization, a type of compression method. In scalar quantization, the original vectors values are compressed to a narrower type by discretizing and representing each component of a vector using a reduced set of quantized values, thereby reducing the overall data size. -
BINARY_QUANTIZATION
Binary Quantization, a type of compression method. In binary quantization, the original vectors values are compressed to the narrower binary type by discretizing and representing each component of a vector using binary values, thereby reducing the overall data size.
-
-
Constructor Details
-
VectorSearchCompressionKind
Deprecated.Use thefromString(String)factory method.Creates a new instance of VectorSearchCompressionKind value.
-
-
Method Details
-
fromString
Creates or finds a VectorSearchCompressionKind from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding VectorSearchCompressionKind.
-
values
Gets known VectorSearchCompressionKind values.- Returns:
- known VectorSearchCompressionKind values.
-
fromString(String)factory method.