-
Notifications
You must be signed in to change notification settings - Fork 25.6k
ES|QL: Add license check for RRF #125225
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
ES|QL: Add license check for RRF #125225
Conversation
|
Pinging @elastic/es-analytical-engine (Team:Analytics) |
|
Pinging @elastic/es-search-relevance (Team:Search Relevance) |
| } | ||
| } | ||
|
|
||
| public void testRrf() { |
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.
this test failed because we don't load the EsqlPluginWithEnterpriseOrTrialLicense test plugin.
I did not see a need to load this plugin for the FORK tests so I took this test out in its own RrfIT since it was primarily aimed at testing RRF and not FORK.
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.
LGTM, really clean 👍
Tracked in #123391
Adds a license check for RRF - RRF is an enterprise level feature for the search DSL and for ES|QL we need to preserve the license level.
I also had to take out a RRF test from
ForkITbecause it was now failing because of the license check.It's probably cleaner this way to have a dedicated
RrfITinstead of reusingForkIT.