diff --git a/examples/search-json.js b/examples/search-json.js index 75de0221a1e..6481889ecfd 100644 --- a/examples/search-json.js +++ b/examples/search-json.js @@ -15,7 +15,7 @@ try { await client.ft.create('idx:users', { '$.name': { type: SchemaFieldTypes.TEXT, - SORTABLE: 'UNF' + SORTABLE: true }, '$.age': { type: SchemaFieldTypes.NUMERIC,