OpenSearch/docs
Dimitris Athanasiou c7e94b3b4c [ML] Enable overall buckets aggregation at a custom bucket span (elastic/x-pack-elasticsearch#2782)
For the purpose of getting this API consumed by our UI, returning
overall buckets that match the job's largest `bucket_span` can
result in too much data. The UI only ever displays a few buckets
in the swimlane. Their span depends on the time range selected and
the screen resolution, but it will only ever be a relatively
low number.

This PR adds the ability to aggregate overall buckets in a user
specified `bucket_span`. That `bucket_span` may be equal or
greater to the largest job's `bucket_span`. The `overall_score`
of the result overall buckets is the max score of the
corresponding overall buckets with a span equal to the job's
largest `bucket_span`.

The implementation is now chunking the bucket requests
as otherwise the aggregation would fail when too many buckets
are matching.

Original commit: elastic/x-pack-elasticsearch@981f7a40e5
2017-10-27 11:14:13 +01:00
..
en [ML] Enable overall buckets aggregation at a custom bucket span (elastic/x-pack-elasticsearch#2782) 2017-10-27 11:14:13 +01:00
src/test/java/org/elasticsearch/smoketest Revert "Use shaded rest client dependencies" (elastic/x-pack-elasticsearch#2352) 2017-08-25 14:13:16 -05:00
build.gradle [ML] Add overall buckets api (elastic/x-pack-elasticsearch#2713) 2017-10-10 14:41:24 +01:00