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: http://www.nabble.com/solr-synonyms-behaviour-tp15051211p18471373.html Sent from the Solr - User mailing list archive at Nabble.com.
