How to customise ICU Collation Keyword Field for sorting digits, symbols at last after the alphabets?

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,

@home
+1234343
$kam
1234
Abi
Karthik

I require this to be

Abi
Karthik
@home
+1234343
$kam
1234

Customizing Collations

The icu_collation token filter takes many more options than just language, country, and 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

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