Elasticsearch always crashes with query aggregations

Thank you very much. Part of the problem has been fixed.