lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernd Fehling <bernd.fehl...@uni-bielefeld.de>
Subject Re: need to support bi-directional synonyms
Date Thu, 23 Feb 2012 07:42:41 GMT
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<geeky2@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.
>>
>

Mime
View raw message