Honestly, I'd just map em both the same thing in the index.
sprayer, washer => sprayer
or
sprayer, washer => sprayer_washer
At both index and query time. Now if the source document includes either
'sprayer' or 'washer', it'll get indexed as 'sprayer_washer'. And if
the user enters either 's
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 wrote:
hello all,
i need to support the following:
if the user
Same question here...
On Wednesday, February 22, 2012, geeky2 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 th