Skip to content

Conversation

ioanatia
Copy link
Contributor

@ioanatia ioanatia commented Sep 3, 2025

another small refactor taken from: #131078 which we are trying to break into smaller pieces

  • renames RrfScoreEval, RrfScoreEvalExec to FuseScoreEval and FuseScoreEvalExec
  • removes the Dedup logical plan, which means that now Aggregate is the only plan that can contain aggregate functions. this was one of the issue we had with the Dedup implementation.
  • RrfScoreEvalOperator stays the same - that's because we will have an operator for each fuse method we will add, LinearScoreEvalOperator is coming in a future PR.

@ioanatia ioanatia added >non-issue Team:Search - Relevance The Search organization Search Relevance team v9.2.0 :Search Relevance/ES|QL Search functionality in ES|QL labels Sep 3, 2025
@elasticsearchmachine
Copy link
Collaborator

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

@elasticsearchmachine elasticsearchmachine added Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch and removed Team:Search - Relevance The Search organization Search Relevance team labels Sep 3, 2025
private final FuseType fuseType;

public enum FuseType {
RRF,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

technically only RRF is used for now - but we will add linear combination support soon after this PR

- match: { esql.available: true }
- match: { esql.enabled: true }
- length: { esql.features: 27 }
- length: { esql.features: 26 }
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have run these yaml tests in non-snapshot mode and found I needed to update this counter here.

- sum_over_time
- count_over_time
- distinct_over_time
- count_distinct_over_time
Copy link
Contributor Author

Choose a reason for hiding this comment

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

the name of the capability was wrong, causing this test to be ignored

Copy link
Contributor Author

Choose a reason for hiding this comment

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

had to also bump the snapshot_test_for_telemetry capability because we are essentially removing RRF and DEDUP from the telemetry payload.

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.

👍

@ioanatia ioanatia merged commit c9db2c0 into elastic:main Sep 4, 2025
33 checks passed
@ioanatia ioanatia deleted the rename_rrf_plans_to_fuse branch September 4, 2025 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>non-issue :Search Relevance/ES|QL Search functionality in ES|QL Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants