Class BlockingTransactionalSearchCommandsImpl
java.lang.Object
io.quarkus.redis.runtime.datasource.AbstractTransactionalRedisCommandGroup
io.quarkus.redis.runtime.datasource.BlockingTransactionalSearchCommandsImpl
- All Implemented Interfaces:
TransactionalSearchCommands,TransactionalRedisCommands
public class BlockingTransactionalSearchCommandsImpl
extends AbstractTransactionalRedisCommandGroup
implements TransactionalSearchCommands
-
Field Summary
Fields inherited from class io.quarkus.redis.runtime.datasource.AbstractTransactionalRedisCommandGroup
ds, timeout -
Constructor Summary
ConstructorsConstructorDescriptionBlockingTransactionalSearchCommandsImpl(TransactionalRedisDataSource ds, ReactiveTransactionalSearchCommands reactive, Duration timeout) -
Method Summary
Modifier and TypeMethodDescriptionvoidft_list()Execute the command FT._LIST.voidftAggregate(String indexName, String query) Execute the command FT.AGGREGATE.voidftAggregate(String indexName, String query, AggregateArgs args) Execute the command FT.AGGREGATE.voidftAliasAdd(String alias, String index) Execute the command FT.ALIASADD.voidftAliasDel(String alias) Execute the command FT.ALIASDEL.voidftAliasUpdate(String alias, String index) Execute the command FT.ALIASUPDATE.voidftAlter(String index, IndexedField field) Execute the command FT.ALTER.voidftAlter(String index, IndexedField field, boolean skipInitialScan) Execute the command FT.ALTER.voidftCreate(String index, CreateArgs args) Execute the command FT.CREATE.voidftCursorDel(String index, long cursor) Execute the command FT.CURSOR DEL.voidftCursorRead(String index, long cursor) Execute the command FT.CURSOR READ.voidftCursorRead(String index, long cursor, int count) Execute the command FT.CURSOR READ.voidExecute the command FT.DICTADD.voidExecute the command FT.DICTDEL.voidftDictDump(String dict) Execute the command FT.DICTDUMP.voidftDropIndex(String index) Execute the command FT.DROPINDEX.voidftDropIndex(String index, boolean dd) Execute the command FT.DROPINDEX.voidExecute the command FT.SEARCH.voidExecute the command FT.SEARCH.voidftSpellCheck(String index, String query) Execute the command FT.SPELLCHECK.voidftSpellCheck(String index, String query, SpellCheckArgs args) Execute the command FT.SPELLCHECK.voidExecute the command FT.SYNDUMP.voidftSynUpdate(String index, String groupId, boolean skipInitialScan, String... words) Execute the command FT.SYNUPDATE.voidftSynUpdate(String index, String groupId, String... words) Execute the command FT.SYNUPDATE.voidExecute the command FT.TAGVALS.Methods inherited from class io.quarkus.redis.runtime.datasource.AbstractTransactionalRedisCommandGroup
getDataSourceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.quarkus.redis.datasource.TransactionalRedisCommands
getDataSource
-
Constructor Details
-
BlockingTransactionalSearchCommandsImpl
public BlockingTransactionalSearchCommandsImpl(TransactionalRedisDataSource ds, ReactiveTransactionalSearchCommands reactive, Duration timeout)
-
-
Method Details
-
ft_list
public void ft_list()Description copied from interface:TransactionalSearchCommandsExecute the command FT._LIST. Summary: Returns a list of all existing indexes. Group: searchThis is a temporary command.
- Specified by:
ft_listin interfaceTransactionalSearchCommands
-
ftAggregate
Description copied from interface:TransactionalSearchCommandsExecute the command FT.AGGREGATE. Summary: Run a search query on an index, and perform aggregate transformations on the results, extracting statistics from them Group: search- Specified by:
ftAggregatein interfaceTransactionalSearchCommands- Parameters:
indexName- the index against which the query is executed.query- the filtering query that retrieves the documents. It follows the exact same syntax as the search query, including filters, unions, not, optional, and so on.args- the extra parameters
-
ftAggregate
Description copied from interface:TransactionalSearchCommandsExecute the command FT.AGGREGATE. Summary: Run a search query on an index, and perform aggregate transformations on the results, extracting statistics from them Group: search- Specified by:
ftAggregatein interfaceTransactionalSearchCommands- Parameters:
indexName- the index against which the query is executed.query- the filtering query that retrieves the documents. It follows the exact same syntax as the search query, including filters, unions, not, optional, and so on.
-
ftAliasAdd
Description copied from interface:TransactionalSearchCommandsExecute the command FT.ALIASADD. Summary: Add an alias to an index Group: search- Specified by:
ftAliasAddin interfaceTransactionalSearchCommands- Parameters:
alias- the alias to be added to an index.index- the index
-
ftAliasDel
Description copied from interface:TransactionalSearchCommandsExecute the command FT.ALIASDEL. Summary: Remove an alias from an index Group: search- Specified by:
ftAliasDelin interfaceTransactionalSearchCommands- Parameters:
alias- the alias to be removed
-
ftAliasUpdate
Description copied from interface:TransactionalSearchCommandsExecute the command FT.ALIASUPDATE. Summary: Add an alias to an index. If the alias is already associated with another index, FT.ALIASUPDATE removes the alias association with the previous index. Group: search- Specified by:
ftAliasUpdatein interfaceTransactionalSearchCommands- Parameters:
alias- the alias to be added to an index.index- the index
-
ftAlter
Description copied from interface:TransactionalSearchCommandsExecute the command FT.ALTER. Summary: Add a new attribute to the index. Adding an attribute to the index causes any future document updates to use the new attribute when indexing and reindexing existing documents. Group: search- Specified by:
ftAlterin interfaceTransactionalSearchCommands- Parameters:
index- the indexfield- the indexed field to addskipInitialScan- whether to skip the initial scan, if set totrue, does not scan and index.
-
ftAlter
Description copied from interface:TransactionalSearchCommandsExecute the command FT.ALTER. Summary: Add a new attribute to the index. Adding an attribute to the index causes any future document updates to use the new attribute when indexing and reindexing existing documents. Group: search- Specified by:
ftAlterin interfaceTransactionalSearchCommands- Parameters:
index- the indexfield- the indexed field to add
-
ftCreate
Description copied from interface:TransactionalSearchCommandsExecute the command FT.CREATE. Summary: Create an index with the given specification. Group: search- Specified by:
ftCreatein interfaceTransactionalSearchCommands- Parameters:
index- the indexargs- the creation arguments.
-
ftCursorDel
Description copied from interface:TransactionalSearchCommandsExecute the command FT.CURSOR DEL. Summary: Delete a cursor Group: search- Specified by:
ftCursorDelin interfaceTransactionalSearchCommands- Parameters:
index- the indexcursor- the cursor id
-
ftCursorRead
Description copied from interface:TransactionalSearchCommandsExecute the command FT.CURSOR READ. Summary: Read next results from an existing cursor Group: search- Specified by:
ftCursorReadin interfaceTransactionalSearchCommands- Parameters:
index- the indexcursor- the cursor id
-
ftCursorRead
Description copied from interface:TransactionalSearchCommandsExecute the command FT.CURSOR READ. Summary: Read next results from an existing cursor Group: search- Specified by:
ftCursorReadin interfaceTransactionalSearchCommands- Parameters:
index- the indexcursor- the cursor idcount- the number of results to read
-
ftDropIndex
Description copied from interface:TransactionalSearchCommandsExecute the command FT.DROPINDEX. Summary: Delete an index Group: search- Specified by:
ftDropIndexin interfaceTransactionalSearchCommands- Parameters:
index- the index
-
ftDropIndex
Description copied from interface:TransactionalSearchCommandsExecute the command FT.DROPINDEX. Summary: Delete an index Group: search- Specified by:
ftDropIndexin interfaceTransactionalSearchCommands- Parameters:
index- the indexdd- drop operation that, if set, deletes the actual document hashes.
-
ftDictAdd
Description copied from interface:TransactionalSearchCommandsExecute the command FT.DICTADD. Summary: Add terms to a dictionary Group: search- Specified by:
ftDictAddin interfaceTransactionalSearchCommands- Parameters:
dict- the dictionary namewords- the terms to add to the dictionary
-
ftDictDel
Description copied from interface:TransactionalSearchCommandsExecute the command FT.DICTDEL. Summary: Remove terms from a dictionary Group: search- Specified by:
ftDictDelin interfaceTransactionalSearchCommands- Parameters:
dict- the dictionary namewords- the terms to remove to the dictionary
-
ftDictDump
Description copied from interface:TransactionalSearchCommandsExecute the command FT.DICTDUMP. Summary: Dump all terms in the given dictionary Group: search- Specified by:
ftDictDumpin interfaceTransactionalSearchCommands- Parameters:
dict- the dictionary name
-
ftSearch
Description copied from interface:TransactionalSearchCommandsExecute the command FT.SEARCH. Summary: Search the index with a textual query, returning either documents or just ids Group: search- Specified by:
ftSearchin interfaceTransactionalSearchCommands- Parameters:
index- the index name. You must first create the index usingFT.CREATE.query- the text query to search.args- the extra parameters
-
ftSearch
Description copied from interface:TransactionalSearchCommandsExecute the command FT.SEARCH. Summary: Search the index with a textual query, returning either documents or just ids Group: search- Specified by:
ftSearchin interfaceTransactionalSearchCommands- Parameters:
index- the index name. You must first create the index usingFT.CREATE.query- the text query to search.
-
ftSpellCheck
Description copied from interface:TransactionalSearchCommandsExecute the command FT.SPELLCHECK. Summary: Perform spelling correction on a query, returning suggestions for misspelled terms Group: search- Specified by:
ftSpellCheckin interfaceTransactionalSearchCommands- Parameters:
index- the index name. You must first create the index usingFT.CREATE.query- the text query to search.
-
ftSpellCheck
Description copied from interface:TransactionalSearchCommandsExecute the command FT.SPELLCHECK. Summary: Perform spelling correction on a query, returning suggestions for misspelled terms Group: search- Specified by:
ftSpellCheckin interfaceTransactionalSearchCommands- Parameters:
index- the index name. You must first create the index usingFT.CREATE.query- the text query to search.args- the extra parameters
-
ftSynDump
Description copied from interface:TransactionalSearchCommandsExecute the command FT.SYNDUMP. Summary: Dump the contents of a synonym group Group: search- Specified by:
ftSynDumpin interfaceTransactionalSearchCommands- Parameters:
index- the index name.
-
ftSynUpdate
Description copied from interface:TransactionalSearchCommandsExecute the command FT.SYNUPDATE. Summary: Update a synonym group Group: search- Specified by:
ftSynUpdatein interfaceTransactionalSearchCommands- Parameters:
index- the index name.groupId- the synonym groupwords- the synonyms
-
ftSynUpdate
Description copied from interface:TransactionalSearchCommandsExecute the command FT.SYNUPDATE. Summary: Update a synonym group Group: search- Specified by:
ftSynUpdatein interfaceTransactionalSearchCommands- Parameters:
index- the index name.groupId- the synonym groupskipInitialScan- if set totrue, does not scan and index, and only documents that are indexed after the update are affected.words- the synonyms
-
ftTagVals
Description copied from interface:TransactionalSearchCommandsExecute the command FT.TAGVALS. Summary: return a distinct set of values indexed in a Tag field Group: search- Specified by:
ftTagValsin interfaceTransactionalSearchCommands- Parameters:
index- the index name.field- the name of a tag file defined in the schema.
-