From bd4257ce6868d84c454d3b926afdd8fcd1da4e88 Mon Sep 17 00:00:00 2001 From: Igor Malinovskiy Date: Tue, 21 Feb 2023 15:22:28 +0100 Subject: [PATCH] Remove redundant UNF sub-option in JSON example UNF option is not required with JSON and makes the example harder to read and understand. --- examples/search-json.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,