How to Elasticsearch Basic Latin character using English Alphabetic
Ex:- Francois to François - c also so to include ç
Ex:- a also to included ā
it's other way around of asciifolding
How to Elasticsearch Basic Latin character using English Alphabetic
Ex:- Francois to François - c also so to include ç
Ex:- a also to included ā
it's other way around of asciifolding
Why do you want to do this? What is the problem you are trying to solve?
Elasticsearch should result latin char also when look for 'carols' it should include both
carlos
çarlos
how can I achieve that? I'm actually new Elasticsearch.
thanks,
Use this:
Thank you!
asciifolding works for (ā to a).
but is there any class does otrherway around of asciifolding. I want the reverse pattern (a also to included ā)
You do not need it. Analysis is performed both at index and query time. When you index your data ascii folding ensures you index a simplified form. When you send in a query string this is also ascii folded and therefore creates a match.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.