Use
sprayer, washer
http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.SynonymFilterFactory
Regards
Bernd
Am 23.02.2012 07:03, schrieb remi tassing:
Same question here...
On Wednesday, February 22, 2012, geeky2<gee...@hotmail.com> wrote:
hello all,
i need to support the following:
if the user enters "sprayer" in the desc field - then they get results for
BOTH "sprayer" and "washer".
and in the other direction
if the user enters "washer" in the desc field - then they get results for
BOTH "washer" and "sprayer".
would i set up my synonym file like this?
assuming expand = true..
sprayer => washer
washer => sprayer
thank you,
mark
--
View this message in context:
http://lucene.472066.n3.nabble.com/need-to-support-bi-directional-synonyms-tp3767990p3767990.html
Sent from the Solr - User mailing list archive at Nabble.com.