Skip to content

Index.Attribute throws error for sortable fields #291

Closed
@ivanjt-srai

Description

@ivanjt-srai

NRedisStack Version: 0.12.0
Redis Stack Version:
image

Description:
For sorted attributes , index.Attributes throws request.System.IndexOutOfRangeException: Index was outside the bounds of the array.
image

This is how i add text field:
schema.AddTextField(item.Key, sortable: true);

This is how index is created

var ftCreateParams = new FTCreateParams().On(IndexDataType.HASH)
.Temporary(expiryTime)
.Prefix(payloadPrefix);

note that , almost all of the fields are marked as sortable

This issue does not happen when i mark the fields false for sortable.

Please help !

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions