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 Details

    • SCALAR_QUANTIZATION

      public static final VectorSearchCompressionKind 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

      public static final VectorSearchCompressionKind 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 public VectorSearchCompressionKind()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of VectorSearchCompressionKind value.
  • Method Details

    • fromString

      public static VectorSearchCompressionKind fromString(String name)
      Creates or finds a VectorSearchCompressionKind from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding VectorSearchCompressionKind.
    • values

      public static Collection<VectorSearchCompressionKind> values()
      Gets known VectorSearchCompressionKind values.
      Returns:
      known VectorSearchCompressionKind values.