Skip to content

Bug: FT.AlterIndex options doesn't support multiple options #654

@imvtsl

Description

@imvtsl

alter.Schema().Add().Field("$.Nested.F1").Options("TEXT").Build() works as in the test case, however
alter.Schema().Add().Field("$.Nested.F1").Options("TEXT SORTABLE").Build() fails with Invalid field type for field '$.Nested.F1\'. error.

This is probably caused by the incorrect command definitions. The options should be marked as "multiple": true:

rueidis/hack/cmds/commands_search.json

{
"name": "options",
"type": "string"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions