Interface TransactionalAutoSuggestCommands<K>
- Type Parameters:
K- the type of the key
- All Superinterfaces:
TransactionalRedisCommands
- All Known Implementing Classes:
BlockingTransactionalAutoSuggestCommandsImpl
Allows executing commands from the
auto-suggest group (requires the Redis Search module from Redis stack).
See the auto-suggest command list for further information about
these
commands.
This API is intended to be used in a Redis transaction (MULTI), thus, all command methods return void.-
Method Summary
Methods inherited from interface io.quarkus.redis.datasource.TransactionalRedisCommands
getDataSource
-
Method Details
-
ftSugAdd
Execute the command FT.SUGADD. Summary: Add a suggestion string to an auto-complete suggestion dictionary Group: auto-suggest- Parameters:
key- the suggestion dictionary keystring- the suggestion string to indexscore- the floating point number of the suggestion string's weight
-
ftSugAdd
Execute the command FT.SUGADD. Summary: Add a suggestion string to an auto-complete suggestion dictionary Group: auto-suggest- Parameters:
key- the suggestion dictionary keystring- the suggestion string to indexscore- the floating point number of the suggestion string's weightincrement- increments the existing entry of the suggestion by the given score, instead of replacing the score. This is useful for updating the dictionary based on user queries in real time.
-
ftSugDel
Execute the command FT.SUGDEL. Summary: Delete a string from a suggestion index Group: auto-suggest- Parameters:
key- the suggestion dictionary keystring- the suggestion string to index
-
ftSugget
Execute the command FT.SUGGET. Summary: Get completion suggestions for a prefix Group: auto-suggest- Parameters:
key- the suggestion dictionary keyprefix- is prefix to complete on.
-
ftSugget
Execute the command FT.SUGGET. Summary: Get completion suggestions for a prefix Group: auto-suggest- Parameters:
key- the suggestion dictionary keyprefix- is prefix to complete on.args- the extra argument, must not benull
-
ftSugLen
Execute the command FT.SUGLEN. Summary: Get the size of an auto-complete suggestion dictionary Group: auto-suggest- Parameters:
key- the suggestion dictionary key
-