问题
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