Make aggregation response shorter


#1

Hi!

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.

Thanks!
Benjamin


(Colin Goodheart-Smithe) #2

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?


#3

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.


(system) #4

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