> I'd like to use the synonymy in my project. And I think > there's two > candidates solution : > 1. using the synonymy in the indexing stage, enhance the > index by using > synonymy > 2. using the synonymy in the search stage, enhance the > search query by > synonymy . > > I'd like to know which one is better, any help is > appreciated.
It is advised to use synonyms at index time for various reasons (idf differences, multi-word synonyms) [1]. [1]http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.SynonymFilterFactory --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org