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 Summary
FieldsModifier and TypeFieldDescriptionstatic final VectorSearchCompressionRescoreStorageMethodThis option discards the original full-precision vectors.static final VectorSearchCompressionRescoreStorageMethodThis option preserves the original full-precision vectors. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromString(String name) Creates or finds a VectorSearchCompressionRescoreStorageMethod from its string representation.values()Gets known VectorSearchCompressionRescoreStorageMethod values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
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
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.Use thefromString(String)factory method.Creates a new instance of VectorSearchCompressionRescoreStorageMethod value.
-
-
Method Details
-
fromString
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.
-
fromString(String)factory method.