Class VectorSearchCompressionRescoreStorageMethod

java.lang.Object
com.azure.core.util.ExpandableStringEnum<VectorSearchCompressionRescoreStorageMethod>
com.azure.search.documents.indexes.models.VectorSearchCompressionRescoreStorageMethod
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class VectorSearchCompressionRescoreStorageMethod extends com.azure.core.util.ExpandableStringEnum<VectorSearchCompressionRescoreStorageMethod>
The storage method for the original full-precision vectors used for rescoring and internal index operations.
  • Field Details

    • PRESERVE_ORIGINALS

      public static final VectorSearchCompressionRescoreStorageMethod PRESERVE_ORIGINALS
      This option preserves the original full-precision vectors. Choose this option for maximum flexibility and highest quality of compressed search results. This consumes more storage but allows for rescoring and oversampling.
    • DISCARD_ORIGINALS

      public static final VectorSearchCompressionRescoreStorageMethod DISCARD_ORIGINALS
      This option discards the original full-precision vectors. Choose this option for maximum storage savings. Since this option does not allow for rescoring and oversampling, it will often cause slight to moderate reductions in quality.
  • Constructor Details

    • VectorSearchCompressionRescoreStorageMethod

      @Deprecated public VectorSearchCompressionRescoreStorageMethod()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of VectorSearchCompressionRescoreStorageMethod value.
  • Method Details

    • fromString

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

      Gets known VectorSearchCompressionRescoreStorageMethod values.
      Returns:
      known VectorSearchCompressionRescoreStorageMethod values.