-
Notifications
You must be signed in to change notification settings - Fork 49
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
Fix number of total shards in partial search response #543
Conversation
@bharath-techie can we merge this |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #543 +/- ##
=======================================
Coverage ? 84.06%
Complexity ? 559
=======================================
Files ? 61
Lines ? 2046
Branches ? 146
=======================================
Hits ? 1720
Misses ? 230
Partials ? 96 ☔ View full report in Codecov by Sentry. |
Signed-off-by: panguixin <[email protected]> Signed-off-by: Marc Handalian <[email protected]>
rebased this - including in 2.14 - thanks @bugmakerrrrrr |
Signed-off-by: panguixin <[email protected]> Signed-off-by: Marc Handalian <[email protected]> (cherry picked from commit 0402b6d) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
(cherry picked from commit 0402b6d) Signed-off-by: panguixin <[email protected]> Signed-off-by: Marc Handalian <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
The
totalShards
inSearchResponse
includes skipped shards, but the partial search response inAsynchronousSearchProgressListener
does not account for this.Issues Resolved
List any issues this PR will resolve, e.g. Closes [...].
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.