-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[ML] Add rest_total_hit_as_int where total hits is required #26421
Conversation
Pinging @elastic/ml-ui |
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.
LGTM ⚡️
💔 Build Failed |
Jenkins, test this - ES master should accept the flag now |
💔 Build Failed |
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.
Code LGTM, Can't judge if it's all necessary places
Jenkins, test this - change should now be on master snapshot |
💔 Build Failed |
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.
LGTM
c3be1e1
to
128de83
Compare
💚 Build Succeeded |
Summary
Implements step 1 of #26356 for the ML UI, adding
rest_total_hits_as_int=true
to all requests to Elasticsearch where we need to gethits.total
.After 7.0 has been released, steps 2 and 3 of #26356 should be addressed in a follow-up PR. Most of the ML uses of
hits.total
can probably either be switched to use the estimated hits count, or be removed altogether.Checklist
N/A