From 0a6b014ca22333d45ec3e8b427034a2e5ac8ec68 Mon Sep 17 00:00:00 2001 From: Igor Malinovskiy Date: Sun, 20 Nov 2022 22:02:19 +0100 Subject: [PATCH 1/2] Use explicit index name in RediSearch example Show how to set index name in the RediSearch example instead of using default value. --- docs/redismodules.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/redismodules.rst b/docs/redismodules.rst index cf31b2973b..8e25494f2f 100644 --- a/docs/redismodules.rst +++ b/docs/redismodules.rst @@ -113,8 +113,9 @@ These are the commands for interacting with the `RediSearch module Date: Sun, 4 Dec 2022 09:09:35 +0200 Subject: [PATCH 2/2] amending example text to highlight default --- docs/redismodules.rst | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/redismodules.rst b/docs/redismodules.rst index 541a151884..2b0b3c6533 100644 --- a/docs/redismodules.rst +++ b/docs/redismodules.rst @@ -12,17 +12,17 @@ These are the commands for interacting with the `RedisBloom module `_. Below is a brief example, as well as documentation on the commands themselves. +These are the commands for interacting with the `RediSearch module `_. Below is a brief example, as well as documentation on the commands themselves. In the example +below, an index named *my_index* is being created. When an index name is not specified, an index named *idx* is created. **Create a search index, and display its information**