The phonebook fields sort the symbols, currency and digits at the top grouped. Instead i want to give the alphabets (a-z) the most precedence and appears first in the sorting and all the above 3 below it. for example
Instead of the order currently being,
I require this to be
icu_collationtoken filter takes many more options than just
variant, which can be used to tailor the sorting algorithm. Options are available that will do the following:
- Ignore diacritics
- Order uppercase first or last, or ignore case
- Take punctuation and whitespace into account or ignore it
- Sort numbers as strings or by their numeric value
- Customize existing collations or define your own custom collations
Details of these options are beyond the scope of this book, but more information can be found in the ICU plug-in documentation and in the ICU project collation documentation.
As per elasticsearch documentation in the page [Sorting and Collations | Elasticsearch: The Definitive Guide [master] | Elastic](https://Sorting and Collasions), the collasion can be tailored with various option, But the link shared is the official documentation of unicode collasion algorithm, Not able to find out how to configure the elasticsearch.
Thank you in advance