From a149992d0bbcbca6190660b3f2a52900ace3a94d Mon Sep 17 00:00:00 2001 From: Jedidiah Amaraegbu Date: Mon, 3 Jun 2024 08:36:56 +0100 Subject: [PATCH 1/2] Update README.md Other table column titles match their respective bullet point title. It would be nice for `phonetic` to read `phonetic` in the bullet point and not `matcher` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f341e9e..3034d4e 100644 --- a/README.md +++ b/README.md @@ -1116,7 +1116,7 @@ Additional field options can be set depending on the field type. These correspon * `indexed`: true | false, whether this field is indexed by RediSearch (default true) * `sortable`: true | false, whether to create an additional index to optimize sorting (default false) * `normalized`: true | false, whether to apply normalization for sorting (default true) -* `matcher`: string defining phonetic matcher which can be one of: 'dm:en' for English, 'dm:fr' for French, 'dm:pt' for Portugese, 'dm:es' for Spanish (default none) +* `phonetic`: string defining phonetic matcher which can be one of: 'dm:en' for English, 'dm:fr' for French, 'dm:pt' for Portugese, 'dm:es' for Spanish (default none) * `stemming`: true | false, whether word-stemming is applied to text fields (default true) * `weight`: number, the importance weighting to use when ranking results (default 1) * `separator`: string, the character to delimit multiple tags (default '|') From 28d557a1b2e6d1ddfc5aa6807783757b917d5cdc Mon Sep 17 00:00:00 2001 From: Jedidiah Amaraegbu Date: Fri, 7 Jun 2024 17:53:41 +0100 Subject: [PATCH 2/2] chore (docs): readme schema options Fixed concurrency as guided by Guy Royse --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3034d4e..60b7602 100644 --- a/README.md +++ b/README.md @@ -1102,7 +1102,7 @@ This is a bit of a catch-all for some of the more advanced stuff you can do with Additional field options can be set depending on the field type. These correspond to the [Field Options](https://redis.io/commands/ft.create/#field-options) available when creating a RediSearch full-text index. Other than the `separator` option, these only affect how content is indexed and searched. -| schema type | RediSearch type | `indexed` | `sortable` | `normalized` | `stemming` | `phonetic` | `weight` | `separator` | `caseSensitive` | +| schema type | RediSearch type | `indexed` | `sortable` | `normalized` | `stemming` | `matcher` | `weight` | `separator` | `caseSensitive` | | -------------- | :-------------: | :-------: | :--------: | :----------: | :--------: | :--------: | :------: | :---------: | :-------------: | | `string` | TAG | yes | HASH Only | HASH Only | - | - | - | yes | yes | | `number` | NUMERIC | yes | yes | - | - | - | - | - | - | @@ -1116,7 +1116,7 @@ Additional field options can be set depending on the field type. These correspon * `indexed`: true | false, whether this field is indexed by RediSearch (default true) * `sortable`: true | false, whether to create an additional index to optimize sorting (default false) * `normalized`: true | false, whether to apply normalization for sorting (default true) -* `phonetic`: string defining phonetic matcher which can be one of: 'dm:en' for English, 'dm:fr' for French, 'dm:pt' for Portugese, 'dm:es' for Spanish (default none) +* `matcher`: string defining phonetic matcher which can be one of: 'dm:en' for English, 'dm:fr' for French, 'dm:pt' for Portugese, 'dm:es' for Spanish (default none) * `stemming`: true | false, whether word-stemming is applied to text fields (default true) * `weight`: number, the importance weighting to use when ranking results (default 1) * `separator`: string, the character to delimit multiple tags (default '|')