Agg results can't support long words

You can do it

  1. in any client code that presents the JSON (custom code, Logstash etc)
  2. in an “ingest processor” that enriches the JSON on Elasticsearch nodes just before indexing or
  3. in indexing code using the murmur3 field type