Skip to content

Commit

Permalink
chore (docs): readme schema options
Browse files Browse the repository at this point in the history
Fixed concurrency as guided by Guy Royse
  • Loading branch information
amjedidiah authored Jun 7, 2024
1 parent a149992 commit 28d557a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 | - | - | - | - | - | - |
Expand All @@ -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 '|')
Expand Down

0 comments on commit 28d557a

Please sign in to comment.