hi all, i am confused a bit about how to use synonym filter configs. i am using solr 1.4.
default config is like : for query analyzer: <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/> for index analyzer: its commented. while looking @ documentation deeply on http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#head-2c461ac74b4ddd82e453dc68fcfc92da77358d46 *"**Keep in mind that while the SynonymFilter will happily work with synonyms containing multiple words (ie: "** sea biscuit, sea biscit, seabiscuit**") The recommended approach for dealing with synonyms like this, is to expand the synonym when indexing. This is because there are two potential issues that can arrise at query time**"* * * considering this above recommendation i think following is the best option for synonym filter * for query analyzer: * <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="false"/> for index analyzer: <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/> am i right? what do you guys suggest? thanks! mani kumar