Wanted to know if it's possible to dynamically assign filter, char_filter & analyzer?
We have multilanguage data in ES. The search is language specific which the application detects at request time. So if request is in English then I want to load the english synonym & stemmer filters + char_filter & analyzers. If in Chinese then load different ones, etc.
What is the best way to accomplish this? And should any defaults be set at index creation time?
Would I need to set any default at index creation time (like maybe the english one) or use only search time analyzers in this case of lang specific ones since the recommendation mentions:
"Usually, the same analyzer should be applied at index time and at search time"
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.