Skip to content

fix(search): return results even if doc is empty #3457

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

Merged
merged 2 commits into from
Jul 31, 2025
Merged

Conversation

ndyakov
Copy link
Member

@ndyakov ndyakov commented Jul 31, 2025

"If a relevant key expires while a query is running, an attempt to load the key's value will return a null array. However, the key is still counted in the total number of results." - Redis Search return documentation

fixes #3456

"If a relevant key expires while a query is running, an attempt to load
the key's value will return a null array. However, the key is still
counted in the total number of results." - Redis Search return
documentation
@ndyakov ndyakov force-pushed the ndyakov/fix-3456 branch from f683e12 to 4a3ed86 Compare July 31, 2025 12:05
@ndyakov ndyakov merged commit 9cfefa6 into master Jul 31, 2025
20 checks passed
ofekshenawa pushed a commit that referenced this pull request Aug 10, 2025
* fix(search): return results even if doc is empty

"If a relevant key expires while a query is running, an attempt to load
the key's value will return a null array. However, the key is still
counted in the total number of results." - Redis Search return
documentation

* fix(doctest): fix assertions in doctests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FT.Search returns error when there is an expired key in the results
2 participants