public static enum VectorField.VectorAlgorithm extends java.lang.Enum<VectorField.VectorAlgorithm> implements Rawable
| Enum Constant and Description |
|---|
FLAT
FLAT algorithm provides exact vector search with perfect accuracy.
|
HNSW
HNSW (Hierarchical Navigable Small World) algorithm provides approximate
vector search with configurable accuracy-performance trade-offs.
|
SVS_VAMANA
SVS_VAMANA algorithm provides high-performance approximate vector search
optimized for specific use cases with advanced compression and optimization features.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getRaw()
Returns the raw byte representation of the algorithm name for Redis commands.
|
static VectorField.VectorAlgorithm |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VectorField.VectorAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VectorField.VectorAlgorithm FLAT
public static final VectorField.VectorAlgorithm HNSW
public static final VectorField.VectorAlgorithm SVS_VAMANA
Characteristics:
Note: This algorithm may have specific requirements and limitations. Consult the Redis documentation for detailed usage guidelines.
public static VectorField.VectorAlgorithm[] values()
for (VectorField.VectorAlgorithm c : VectorField.VectorAlgorithm.values()) System.out.println(c);
public static VectorField.VectorAlgorithm valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2025. All rights reserved.