-
Notifications
You must be signed in to change notification settings - Fork 25.6k
ES|QL: Refactor FUSE planning #134038
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: Refactor FUSE planning #134038
Conversation
Pinging @elastic/es-search-relevance (Team:Search Relevance) |
private final FuseType fuseType; | ||
|
||
public enum FuseType { | ||
RRF, |
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.
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 } |
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 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 |
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.
the name of the capability was wrong, causing this test to be ignored
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.
had to also bump the snapshot_test_for_telemetry
capability because we are essentially removing RRF and DEDUP from the telemetry payload.
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.
👍
…capabilities to fix bwc tests
another small refactor taken from: #131078 which we are trying to break into smaller pieces
RrfScoreEval
,RrfScoreEvalExec
toFuseScoreEval
andFuseScoreEvalExec
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.