-
Notifications
You must be signed in to change notification settings - Fork 578
adding sum aggregations docs #10256
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
base: main
Are you sure you want to change the base?
adding sum aggregations docs #10256
Conversation
Signed-off-by: Anton Rubin <anton.rubin@eliatra.com>
Thank you for submitting your PR. The PR states are In progress (or Draft) -> Tech review -> Doc review -> Editorial review -> Merged. Before you submit your PR for doc review, make sure the content is technically accurate. If you need help finding a tech reviewer, tag a maintainer. When you're ready for doc review, tag the assignee of this PR. The doc reviewer may push edits to the PR directly or leave comments and editorial suggestions for you to address (let us know in a comment if you have a preference). The doc reviewer will arrange for an editorial review. |
Signed-off-by: Anton Rubin <anton.rubin@eliatra.com>
@bowenlan-amzn Could you please review this PR? Thanks! |
"total_weight_with_missing": { | ||
"sum": { | ||
"field": "weight_kg", | ||
"missing": 0 |
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.
Maybe we don't need an example, but a table of parameter supported.
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.
+1: @AntonEliatra Could you please add a parameter table for this page (and any aggregations page that doesn't have it)? See for example https://docs.opensearch.org/docs/latest/aggregations/bucket/geohash-grid/#supported-parameters
"aggs": { | ||
"adjusted_weight": { | ||
"sum": { | ||
"field": "weight_kg", |
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.
Feels pretty similar to the previous example, can we combine them?
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.
Overall looks good to me. I think my comments are more about organize the content. So I will approve for now from technical side.
Description
adding sum aggregations docs
Version
all
Checklist
For more information on following Developer Certificate of Origin and signing off your commits, please check here.