How to make solr synonyms work

前端 未结 3 485
一生所求
一生所求 2021-02-07 21:36

I\'m trying to set up some basic synonyms in Solr. The one I\'ve been working on is:

us, usa, united states

My understanding is that adding that to the synonym f

3条回答
  •  北恋
    北恋 (楼主)
    2021-02-07 22:13

    Try using the SynonymFilterFactory during indexing only, not during querying.

    The documentation suggests this as well: http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.SynonymFilterFactory

提交回复
热议问题