public static enum Schema.VectorField.VectorAlgo extends java.lang.Enum<Schema.VectorField.VectorAlgo> 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 Schema.VectorField.VectorAlgo |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Schema.VectorField.VectorAlgo[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Schema.VectorField.VectorAlgo FLAT
public static final Schema.VectorField.VectorAlgo HNSW
public static final Schema.VectorField.VectorAlgo SVS_VAMANA
Characteristics:
Note: This algorithm may have specific requirements and limitations. Consult the Redis documentation for detailed usage guidelines.
public static Schema.VectorField.VectorAlgo[] values()
for (Schema.VectorField.VectorAlgo c : Schema.VectorField.VectorAlgo.values()) System.out.println(c);
public static Schema.VectorField.VectorAlgo 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.