ElasticSearch - define custom letter order for sorting
I'm using ElasticSearch 2.4.2 (via HibernateSearch 5.7.1.Final from Java). I have a problem with string sorting. The language of my application has diacritics, which have a specific alphabetic ordering. For example Ł goes directly after L , Ó goes after O , etc. So you are supposed to sort the strings like this: Dla Dła Doa Dóa Dza Eza ElasticSearch sorts by typical letters first, and moves all strange letters to at the end: Dla Doa Dza Dła Dóa Eza Can I add a custom letter ordering for ElasticSearch? Maybe there are some plugins for this? Do I need to write my own plugin? How do I start? I