Make aggregation response shorter


Is it possible to make an aggregation response shorter by leaving away fields like "doc_count_error_upper_bound",
"sum_other_doc_count" or "doc_count"?
I could not find any information on how to disable those fields.


These fields cannot be disabled. They only appear once per aggregation so do not contribute much to the size of the response. Why are you wanting to remove them?

Thanks you! In my Aggregation, I have a lot of buckets with a very small amount of information in each bucket, so these additional infos, that I don't really need, take up a significant part of the response. I was just wondering if it is possible to optimize the data load of the response by leaving all unwanted Information away.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.