-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Add integration tests for Redis 8 behavior changes in Redis Search #3337
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
Add integration tests for Redis 8 behavior changes in Redis Search #3337
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we should allow LIMIT 0 0
from the ft.search... We can introduce additional option to note that the execution should only count the results (and add LIMIT 0 0
) but enabling it for all ft.search
executions will break the default behaviour without setting the LimitOffset
and Limit
options since 0
is the default value for those integer. WDYT @ofekshenawa ?
5dd9515
to
ec1b320
Compare
…st-behvioral-changes-in-search-on-redis-8
51ec981
to
59e017e
Compare
blocked by #3338 |
…st-behvioral-changes-in-search-on-redis-8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for addressing the issues and adding the needed tests. I think it is OK to be merged as it is, let's briefly discuss how we would like to handle the deprecations.
This commit adds a suite of integration tests to validate the expected behavior changes and bug fixes introduced for Redisearch in Redis Community Edition 8. These tests cover several areas including query syntax, reducer default values, scoring defaults, alias validations, timeout behavior, and stop word handling.
IMPORTANT: This PR adds tests only to verify that the changes occur correctly. It does not implement any modifications to Redisearch itself.