From 1be84228b566a69243d1872d48c20669221dcaff Mon Sep 17 00:00:00 2001 From: Igor Malinovskiy Date: Tue, 21 Feb 2023 16:45:48 +0100 Subject: [PATCH] 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. --- 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 75de0221a1..6481889ecf 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,