Skip to content

[8.x] Remove empty results before merging (#126770) #127031

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

Merged
merged 1 commit into from
Apr 17, 2025

Conversation

javanna
Copy link
Member

@javanna javanna commented Apr 17, 2025

We addressed the empty top docs issue with #126385 specifically for scenarios where empty top docs don't go through the wire. Yet they may be serialized from data node back to the coord node, in which case they will no longer be equal to Lucene#EMPTY_TOP_DOCS.

This commit expands the existing filtering of empty top docs to include also those that did go through serialization.

8.x backport of #126770

Closes #126742

We addressed the empty top docs issue with elastic#126385 specifically for scenarios where
empty top docs don't go through the wire. Yet they may be serialized from data node
back to the coord node, in which case they will no longer be equal to Lucene#EMPTY_TOP_DOCS.

This commit expands the existing filtering of empty top docs to include also those that
did go through serialization.

Closes elastic#126742
@javanna javanna added >bug backport auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) :Search Foundations/Search Catch all for Search Foundations v8.19.0 labels Apr 17, 2025
@javanna javanna changed the title Remove empty results before merging (#126770) [8.x] Remove empty results before merging (#126770) Apr 17, 2025
@elasticsearchmachine elasticsearchmachine merged commit 21563fa into elastic:8.x Apr 17, 2025
15 checks passed
@javanna javanna deleted the backport/8.x/pr-126770 branch April 17, 2025 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport >bug :Search Foundations/Search Catch all for Search Foundations v8.19.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants