NRedisStack icon indicating copy to clipboard operation
NRedisStack copied to clipboard

Index.Attribute throws error for sortable fields

Open ivanjt-srai opened this issue 2 months ago • 4 comments

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 !

ivanjt-srai avatar Apr 26 '24 11:04 ivanjt-srai