Skip to content

Commit 1be8422

Browse files
authored
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.
1 parent 9ffae59 commit 1be8422

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/search-json.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ try {
1515
await client.ft.create('idx:users', {
1616
'$.name': {
1717
type: SchemaFieldTypes.TEXT,
18-
SORTABLE: 'UNF'
18+
SORTABLE: true
1919
},
2020
'$.age': {
2121
type: SchemaFieldTypes.NUMERIC,

0 commit comments

Comments
 (0)