public static class HybridSearchArgs.Scorer extends Object
Note: Parameter support will be added in a future release when the Redis server supports it.
Scorer.of(ScoringFunction.BM25) // Output: SCORER BM25
ScoringFunction| Modifier and Type | Method and Description |
|---|---|
<K,V> void |
build(CommandArgs<K,V> args)
Build the SCORER arguments.
|
static HybridSearchArgs.Scorer |
of(ScoringFunction algorithm)
Create a scorer with the specified algorithm.
|
public static HybridSearchArgs.Scorer of(ScoringFunction algorithm)
algorithm - the scoring algorithmHybridSearchArgs.Scorer instancepublic <K,V> void build(CommandArgs<K,V> args)
K - key typeV - value typeargs - the CommandArgs to append toCopyright © 2025 lettuce.io. All rights reserved.