Interface SuggestCommands<K,V>
-
- Type Parameters:
K
- Key type.V
- Value type.
- All Known Subinterfaces:
RediSearchCommands<K,V>
public interface SuggestCommands<K,V>
Synchronously executed commands for RediSearch suggestion index.- Since:
- 1.0
- Author:
- Julien Ruaux
-
-
Method Summary
Modifier and Type Method Description java.lang.Long
sugadd(K key, V string, double score)
java.lang.Long
sugadd(K key, V string, double score, boolean increment)
java.lang.Long
sugadd(K key, V string, double score, boolean increment, V payload)
java.lang.Long
sugadd(K key, V string, double score, V payload)
java.util.List<SuggestResult<V>>
sugget(K key, V prefix, SuggestGetOptions options)
-
-
-
Method Detail
-
sugget
java.util.List<SuggestResult<V>> sugget(K key, V prefix, SuggestGetOptions options)
-
-