Class SpellCheckArgs
java.lang.Object
io.quarkus.redis.datasource.search.SpellCheckArgs
- All Implemented Interfaces:
RedisCommandExtraArguments
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondialect
(int dialect) Selects the dialect version under which to execute the query.distance
(int distance) Sets the maximum Levenshtein distance for spelling suggestions (default: 1, max: 4).Specifies an exclusion of a custom dictionary nameddict
Specifies an inclusion of a custom dictionary nameddict
toArgs()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.quarkus.redis.datasource.RedisCommandExtraArguments
toArgs
-
Constructor Details
-
SpellCheckArgs
public SpellCheckArgs()
-
-
Method Details
-
distance
Sets the maximum Levenshtein distance for spelling suggestions (default: 1, max: 4).- Parameters:
distance
- the distance- Returns:
- the current
SpellCheckArgs
-
includes
Specifies an inclusion of a custom dictionary nameddict
- Parameters:
dict
- the dictionaries- Returns:
- the current
SpellCheckArgs
-
excludes
Specifies an exclusion of a custom dictionary nameddict
- Parameters:
dict
- the dictionaries- Returns:
- the current
SpellCheckArgs
-
dialect
Selects the dialect version under which to execute the query. If not specified, the query will execute under the default dialect version set during module initial loading.- Parameters:
dialect
- the dialect- Returns:
- the current
SpellCheckArgs
-
toArgs
- Specified by:
toArgs
in interfaceRedisCommandExtraArguments
- Returns:
- the list of arguments.
-