public static class HybridVectorArgs.Range extends Object implements HybridVectorArgs.VectorSearchMethod
Finds all vectors within a specified distance radius from the query vector.
| Modifier and Type | Method and Description |
|---|---|
<K,V> void |
build(CommandArgs<K,V> args)
Build the method arguments into the command.
|
HybridVectorArgs.Range |
epsilon(double epsilon)
Set the epsilon parameter for distance calculation tolerance.
|
static HybridVectorArgs.Range |
of(double radius)
Static factory method to create a Range search method.
|
public static HybridVectorArgs.Range of(double radius)
radius - maximum distance from query vectorpublic HybridVectorArgs.Range epsilon(double epsilon)
The epsilon parameter provides a tolerance for the distance calculation.
epsilon - tolerance for distance calculationpublic <K,V> void build(CommandArgs<K,V> args)
HybridVectorArgs.VectorSearchMethodbuild in interface HybridVectorArgs.VectorSearchMethodK - key typeV - value typeargs - command argumentsCopyright © 2026 lettuce.io. All rights reserved.