Skip to content

Commit

Permalink
Remove redundant UNF sub-option in JSON example
Browse files Browse the repository at this point in the history
UNF option is not required with JSON and makes the 
example harder to read and understand.
  • Loading branch information
uglide authored Feb 21, 2023
1 parent 9ffae59 commit bd4257c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/search-json.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ try {
await client.ft.create('idx:users', {
'$.name': {
type: SchemaFieldTypes.TEXT,
SORTABLE: 'UNF'
SORTABLE: true
},
'$.age': {
type: SchemaFieldTypes.NUMERIC,
Expand Down

0 comments on commit bd4257c

Please sign in to comment.