Elasticsearch max key length

This seems like more of a documentation issue. I am using Elasticsearch 5 rc1 however noticed the same behavior in Elasticsearch 2.

I am attempting to build a data table visualization for emails. The email body can be quite long. whenever the email body is (excessively) long, ES will not return the long key under buckets.

What is the maximum value for keys to be returned? Can I change the maximum value?

An example response below with 7 hits but no buckets/data returned.

{
  "took": 7,
  "timed_out": false,
  "_shards": {
    "total": 31,
    "successful": 31,
    "failed": 0
  },
  "hits": {
    "total": 7,
    "max_score": 0,
    "hits": []
  },
  "aggregations": {
    "2": {
      "doc_count_error_upper_bound": 0,
      "sum_other_doc_count": 0,
      "buckets": []
    }
  },
  "status": 200
}

i'm investigating what was found in: Is there any length limitation of the key in term aggregation ? I mean results display