Using Solr for indexing multiple languages

后端 未结 3 1125
感情败类
感情败类 2021-02-08 01:47

We\'re setting up a Solr to index documents where title field can be in various languages. After googling I found two options:

  1. Define different schema fields for e
3条回答
  •  感情败类
    2021-02-08 02:28

    It all depends on your requirements. I am assuming you dont need to query multiple languages in a single query. In that case splitting them into multiple cores would be a better idea since you can tweak around that core without affecting the other cores & index. With multiple languages there will be some tweaking or the other involved due to stemming, spell check & other features (if you plan to use them).

    There is also an option of multiple solr webapps within a servlet container. So that could be an option you can look at.

    It all depends on the flexibility that you had with regards to downtime that you could take to fix any issues.

提交回复
热议问题