lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From matt connolly <>
Subject Re: solr synonyms behaviour
Date Tue, 15 Jul 2008 18:01:01 GMT

You won't have the multiple word problem if you use synonyms at index time
instead of query time.

swarag wrote:
> Here is a basic example of some synonyms in my synonyms.txt:
> club=>club,bar,night cabaret
> bar=>bar,club
> As you can see, a search for 'bar' will return any documents with 'bar' or
> 'club' in the name. This works fine. However, a search for 'club' SHOULD
> return any documents with 'club', 'bar' or 'night cabaret' in the name,
> but it does not. It only returns 'bar' and 'club'.  
> Interestingly, a search for 'night cabaret' gives me all 'night cabaret's,
> 'bar's and 'club's...which is quite unexpected since I'm using
> uni-directional synonym config (using the => symbol)
> Does your config give you my desired behavior?

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message