From 653b08bf5443f4036ebe150808a89a112cdc510e Mon Sep 17 00:00:00 2001 From: Aryan Singh <160637316+AryanSingh1112@users.noreply.github.com> Date: Mon, 9 Sep 2024 22:34:09 +0530 Subject: [PATCH] Create missing-redis-commands.md Made the documentation of redis commands which is not included in kvrocks documentation. --- docs/missing-redis-commands.md | 463 +++++++++++++++++++++++++++++++++ 1 file changed, 463 insertions(+) create mode 100644 docs/missing-redis-commands.md diff --git a/docs/missing-redis-commands.md b/docs/missing-redis-commands.md new file mode 100644 index 00000000..01a365fc --- /dev/null +++ b/docs/missing-redis-commands.md @@ -0,0 +1,463 @@ +# Documentation for Missing Redis Commands + +This document provides detailed information on Redis commands that are not currently covered in the Kvrocks documentation. + +1. HYPERLOGLOG COMMANDS + +1.1 PFSELFTEST + +Syntax: PFSELFTEST +Function: Performs a self-test of the HyperLogLog implementation. +Notes: Used for debugging purposes to ensure the HyperLogLog implementation is working correctly. + +1.2 PFDEBUG + +Syntax: PFDEBUG +Function: Provides debugging information for HyperLogLog data structures. +Notes: Subcommands include GETREG to get the raw register values. + + +2. SEARCH COMMANDS + +2.1 FT.AGGREGATE + +Syntax: FT.AGGREGATE [options] +Function: Performs an aggregation query on the index. +Notes: Useful for complex queries involving grouping and reducing. + +2.2 FT.ALIASADD + +Syntax: FT.ALIASADD +Function: Adds an alias to an index. +Notes: Aliases allow you to reference an index by a different name. + +2.3 FT.ALIASDEL + +Syntax: FT.ALIASDEL +Function: Deletes an alias. +Notes: Removes the alias but does not delete the index. + +2.4 FT.ALIASUPDATE + +Syntax: FT.ALIASUPDATE +Function: Updates an alias to point to a different index. +Notes: Useful for changing the index an alias points to without deleting the alias. + +2.5 FT.ALTER + +Syntax: FT.ALTER [options] +Function: Alters the schema of an existing index. +Notes: Allows adding new fields to the index schema. + + +2.6 FT.CONFIG GET + +Syntax: FT.CONFIG GET