VectorSearchCompressionRescoreStorageMethod Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. search. documents. indexes. models. VectorSearchCompressionRescoreStorageMethod
- com.
- com.
public final class VectorSearchCompressionRescoreStorageMethod
extends ExpandableStringEnum<VectorSearchCompressionRescoreStorageMethod>
The storage method for the original full-precision vectors used for rescoring and internal index operations.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Vector |
DISCARD_ORIGINALS
This option discards the original full-precision vectors. |
|
static final
Vector |
PRESERVE_ORIGINALS
This option preserves the original full-precision vectors. |
Constructor Summary
| Constructor | Description |
|---|---|
| VectorSearchCompressionRescoreStorageMethod() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Vector |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Vector |
fromString(String name)
Creates or finds a Vector |
|
static
Collection<Vector |
values()
Gets known Vector |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
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.
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.
Constructor Details
VectorSearchCompressionRescoreStorageMethod
@Deprecated
public VectorSearchCompressionRescoreStorageMethod()
Deprecated
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:
Returns:
values
public static Collection<VectorSearchCompressionRescoreStorageMethod> values()
Gets known VectorSearchCompressionRescoreStorageMethod values.
Returns: