Applying Language Specific Analyzer Dynamically before Solr Indexing

旧巷老猫 提交于 2019-12-12 03:04:37

问题


I want to index multi-lingual data. I can identify the language of any field by Solr's Language Detection. Now how can I apply language specific analyzer dynamically to that field? I do not want to create language specific fields (Like: content_en, content_hi etc.). I want to apply language specific analyzer to same field in run time...

I am new in Search Technology. Can any one help me out?

Regards,

Sagar Majumder


回答1:


My suggestion is to use a separate Solr core for each language. That's what I did and it was very elegant and practical solution.



来源:https://stackoverflow.com/questions/8585630/applying-language-specific-analyzer-dynamically-before-solr-indexing

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!