@Experimental public abstract class Scorer extends Object
Scorers.Scorers| Modifier | Constructor and Description |
|---|---|
protected |
Scorer(String name)
Creates a new scorer with the specified name.
|
| Modifier and Type | Method and Description |
|---|---|
<K,V> void |
build(CommandArgs<K,V> args)
Build the SCORER arguments into the command.
|
String |
getName()
Get the scorer name.
|
protected abstract List<Object> |
getOwnArgs()
Get the scorer-specific arguments.
|
protected Scorer(String name)
name - the scoring algorithm name (e.g., "BM25STD", "TFIDF")public final String getName()
protected abstract List<Object> getOwnArgs()
public final <K,V> void build(CommandArgs<K,V> args)
Format: SCORER name [arg1] [arg2] ...
K - key typeV - value typeargs - the CommandArgs to append toCopyright © 2026 lettuce.io. All rights reserved.