Using the Truncate filter on keywords

I am also looking for solution to this problem. Elasticsearch 6 has increased ignore_above limit https://www.elastic.co/guide/en/elasticsearch/reference/current/keyword.html. But underlying lucene limit is still 32766 and elasticsearch fails with "Document contains at least one immense term in" error. It seems elasticsearch community has no solution to this problem : ElasticSearch 6.2.4 java.lang.IllegalArgumentException: Document contains at least one immense term.