Keyword type: aggregation case insensitive

I have a problem with keyword type:
can i aggregate a a file with a keyword type wihout losing the case and sorting case insensitive?

Using the normalizer and lowercase filter lose the the case.
using the text type must enable fielddata that can consume a lot of heap space, especially when loading high cardinality

Elasticsearch version: 5..2

not sure I understand, why do you use the normalizer if you don't want to do case folding?

Because i want sort term aggregation(case insensitive) with "order" : { "_term" : "asc" }

oh sorry I misread your initial post. What you are trying to do is not possible today, sorry!

Can I open an issue on github repository?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.