You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The order on which the options are declared is relevant, but I can't seem to find such information in the current documentation page.
Example:
127.0.0.1:6379> FT.CREATE index-a ON JSON PREFIX 1 some:prefix SCHEMA $.field AS field TAG INDEXMISSING SORTABLE
OK
127.0.0.1:6379> FT.CREATE index-b ON JSON PREFIX 1 some:prefix SCHEMA $.field AS field TAG SORTABLE INDEXMISSING
(error) Field `INDEXMISSING` does not have a type
127.0.0.1:6379>
In the example above the INDEXMISSING always needs to precede SORTABLE, otherwise Redis will throw an error.
The text was updated successfully, but these errors were encountered:
Perhaps. Feel free to open a ticket on the search repo. Otherwise, I still think it's a good idea to augment the FT.CREATE and FT.SEARCH page with parameter ordering information. I've added a ticket for this internally.
Page https://redis.io/docs/latest/commands/ft.create/
The order on which the options are declared is relevant, but I can't seem to find such information in the current documentation page.
Example:
In the example above the
INDEXMISSING
always needs to precedeSORTABLE
, otherwise Redis will throw an error.The text was updated successfully, but these errors were encountered: