Class GetArgs
java.lang.Object
io.quarkus.redis.datasource.autosuggest.GetArgs
- All Implemented Interfaces:
RedisCommandExtraArguments
-
Constructor Details
-
GetArgs
public GetArgs()
-
-
Method Details
-
fuzzy
Performs a fuzzy prefix search, including prefixes at Levenshtein distance of 1 from the prefix sent.- Returns:
- the current
GetArgs
.
-
max
Limits the results to a maximum of num (default: 5).- Parameters:
max
- the max number of results, must be strictly positive- Returns:
- the current
GetArgs
.
-
withScores
Also to attach the score of each suggestion. This can be used to merge results from multiple instances.- Returns:
- the current
GetArgs
.
-
toArgs
- Specified by:
toArgs
in interfaceRedisCommandExtraArguments
- Returns:
- the list of arguments.
-
hasScores
public boolean hasScores()
-