Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception utilising NRedisStack.Search.DataTypes.InfoResult with MissingIndex or EmptyIndex #351

Closed
SudoZachCampbell opened this issue Dec 6, 2024 · 1 comment · Fixed by #356
Labels
bug Something isn't working

Comments

@SudoZachCampbell
Copy link

SudoZachCampbell commented Dec 6, 2024

NRedisStack Version: 1.13.1
Redis Stack Version: 7.4

Description:
It looks like INDEXMISSING and INDEXEMPTY are required in NRedisStack.Search.DataTypes.InfoResult.booleanAttributes, currently the GetRedisResultDictionaryArray function is failing with an Index out of Bounds exception

@atakavci
Copy link
Collaborator

hi @SudoZachCampbell ,
thank you for using NRedisStack and letting us know about the case you are having.

i am planning to work on this next week.
It would be nice if you can provide the relevant code snippet to reproduce to issue, it will boost the speed on our side,
thanks..

atakavci added a commit to atakavci/NRedisStack that referenced this issue Dec 25, 2024
@atakavci atakavci added the bug Something isn't working label Dec 25, 2024
atakavci added a commit that referenced this issue Dec 30, 2024
* issue #351 - handle INDEXEMPTY and INDEXMISSING in FT.INFO response properly

* should work with enterprise and cluster but not with olders without INDEXMISSING support

* test run against 7.3 and later
atakavci added a commit that referenced this issue Jan 31, 2025
* issue #351 - handle INDEXEMPTY and INDEXMISSING in FT.INFO response properly

* should work with enterprise and cluster but not with olders without INDEXMISSING support

* test run against 7.3 and later
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants