Class Suggestion
java.lang.Object
io.quarkus.redis.datasource.autosuggest.Suggestion
Represent a suggestion.
If the SUGGET
command is executed with the WITHSCORES
parameter, the suggestion also contains the
score. 0.0
otherwise.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Suggestion
-
Suggestion
-
-
Method Details
-
suggestion
- Returns:
- the suggestion
-
score
public double score()- Returns:
- the score, 0.0 is not available.
-