lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From geeky2 <gee...@hotmail.com>
Subject need to support bi-directional synonyms
Date Wed, 22 Feb 2012 21:56:53 GMT
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.

Mime
View raw message