Skip to content

Conversation

@ioanatia
Copy link
Contributor

@ioanatia ioanatia commented Mar 19, 2025

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 ForkIT because it was now failing because of the license check.
It's probably cleaner this way to have a dedicated RrfIT instead of reusing ForkIT.

@elasticsearchmachine elasticsearchmachine added Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch labels Mar 19, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-analytical-engine (Team:Analytics)

@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-search-relevance (Team:Search Relevance)

}
}

public void testRrf() {
Copy link
Contributor Author

@ioanatia ioanatia Mar 19, 2025

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.

Copy link
Member

@carlosdelest carlosdelest left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, really clean 👍

@ioanatia ioanatia merged commit 5290e0c into elastic:main Mar 20, 2025
16 of 17 checks passed
@ioanatia ioanatia deleted the rrf_license branch March 20, 2025 08:51
afoucret pushed a commit to afoucret/elasticsearch that referenced this pull request Mar 21, 2025
smalyshev pushed a commit to smalyshev/elasticsearch that referenced this pull request Mar 21, 2025
omricohenn pushed a commit to omricohenn/elasticsearch that referenced this pull request Mar 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/ES|QL AKA ESQL >non-issue :Search Relevance/Search Catch all for Search Relevance Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants