title: Are there known limits on nested aggregations in Elasticsearch?
body: <p>Has anyone had experience hitting out of memory exceptions when nesting too many aggregations and subaggregations in Elasticsearch? I am searching over a small amount of data, but nesting more than four aggregations on top of each other seems to fail frequently.</p>
  
  <p>I have also wondered whether the query filters applied at the top level of aggregation actually apply to the lowest levels of aggregation.</p>