Elastich search – ICU Collation Keyword Field – Norwegian language – aa elastich search consider as å when sorting

I am using elastic search elasticsearch:6.8.4 on fos in Symfony 4.4 by friendsofsymfony/elastica-bundle": "^5.0"

I am facing an issue with sort field with config in fos_elastica.yaml. My config like:

 user_first_name_sort: {type: icu_collation_keyword, language: nb, index: true}

This work fine for Norwegian language as expected. But, word aa elastich search consider as å when sorting

How can i ignore that?

Source: Symfony Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *