You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-01 16:46:54 +03:00
Remove redundant UNF sub-option in JSON example (#2418)
UNF option is not required with JSON and makes the example harder to read and understand.
This commit is contained in:
@ -15,7 +15,7 @@ try {
|
|||||||
await client.ft.create('idx:users', {
|
await client.ft.create('idx:users', {
|
||||||
'$.name': {
|
'$.name': {
|
||||||
type: SchemaFieldTypes.TEXT,
|
type: SchemaFieldTypes.TEXT,
|
||||||
SORTABLE: 'UNF'
|
SORTABLE: true
|
||||||
},
|
},
|
||||||
'$.age': {
|
'$.age': {
|
||||||
type: SchemaFieldTypes.NUMERIC,
|
type: SchemaFieldTypes.NUMERIC,
|
||||||
|
Reference in New Issue
Block a user