| 程序包 | 说明 |
|---|---|
| io.github.dengliming.redismodule.redisearch |
| 限定符和类型 | 方法和说明 |
|---|---|
List<Suggestion> |
RediSearch.getSuggestion(String prefix,
SuggestionOptions options)
Gets completion suggestions for a prefix.
|
org.redisson.api.RFuture<List<Suggestion>> |
RediSearch.getSuggestionAsync(String prefix,
SuggestionOptions options) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
RediSearch.addSuggestion(Suggestion suggestion)
Adds a suggestion string to an auto-complete suggestion dictionary.
|
int |
RediSearch.addSuggestion(Suggestion suggestion,
boolean increment) |
org.redisson.api.RFuture<Integer> |
RediSearch.addSuggestionAsync(Suggestion suggestion,
boolean increment) |
Copyright © 2024. All rights reserved.