OpenSearch/x-pack/docs/en/rest-api/rollup
Zachary Tong 8f8d3a5556
[Rollup] Return empty response when aggs are missing (#32796)
If a search request doesn't contain aggs (or an empty agg object),
we should just retun an empty response.  This is how the normal search
API works if you specify zero hits and empty aggs.

The existing behavior throws an exception because it tries to send
an empty msearch.

Closes #32256
2018-08-23 16:15:37 -04:00
..
delete-job.asciidoc [Docs] All Rollup docs experimental, agg limitations, clarify DeleteJob (#31299) 2018-06-13 15:42:20 -04:00
get-job.asciidoc [Rollup] Improve ID scheme for rollup documents (#32558) 2018-08-03 11:13:25 -04:00
put-job.asciidoc [Docs] All Rollup docs experimental, agg limitations, clarify DeleteJob (#31299) 2018-06-13 15:42:20 -04:00
rollup-caps.asciidoc [Docs] Tweaks and fixes to rollup docs 2018-08-17 13:37:11 -04:00
rollup-index-caps.asciidoc [Docs] Tweaks and fixes to rollup docs 2018-08-17 13:37:11 -04:00
rollup-job-config.asciidoc [Docs] Tweaks and fixes to rollup docs 2018-08-17 13:37:11 -04:00
rollup-search.asciidoc [Rollup] Return empty response when aggs are missing (#32796) 2018-08-23 16:15:37 -04:00
start-job.asciidoc [Docs] All Rollup docs experimental, agg limitations, clarify DeleteJob (#31299) 2018-06-13 15:42:20 -04:00
stop-job.asciidoc [Docs] All Rollup docs experimental, agg limitations, clarify DeleteJob (#31299) 2018-06-13 15:42:20 -04:00