public static enum VectorFieldArgs.Algorithm extends Enum<VectorFieldArgs.Algorithm>
| Enum Constant and Description |
|---|
FLAT
Brute force algorithm.
|
HNSW
Hierarchical, navigable, small world algorithm.
|
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 |
|---|---|
String |
toString() |
static VectorFieldArgs.Algorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VectorFieldArgs.Algorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VectorFieldArgs.Algorithm FLAT
public static final VectorFieldArgs.Algorithm HNSW
public static final VectorFieldArgs.Algorithm SVS_VAMANA
Characteristics:
Note: This algorithm may have specific requirements and limitations. Consult the Redis documentation for detailed usage guidelines.
public static VectorFieldArgs.Algorithm[] values()
for (VectorFieldArgs.Algorithm c : VectorFieldArgs.Algorithm.values()) System.out.println(c);
public static VectorFieldArgs.Algorithm valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<VectorFieldArgs.Algorithm>Copyright © 2025 lettuce.io. All rights reserved.