Why Solr does not split that terms by *;* I think that it both split by *;* and white space character?
2013/7/26 Jack Krupansky <j...@basetechnology.com> > Well, that's one of the areas where Solr synonym support breaks down. The > LucidWorks Search query parser has a proprietary solution for that problem, > but it won't help you with bare Solr. Some people have used shingles. > > In short, for query-time synonym phrases your best bet is to parse the > query at the application level and generate a Solr query that has the > synonyms pre-expanded. > > Application preprocessing could be as simple as scanning for the synonym > phrases and then adding "OR" terms for the synonym phrases. > > -- Jack Krupansky > > -----Original Message----- From: Furkan KAMACI > Sent: Friday, July 26, 2013 10:53 AM > To: solr-user@lucene.apache.org > Subject: Synonym Phrase > > > I have a synonyms file as like that: > > cart; shopping cart; market trolley > > When I analyse my query I see that when I search cart these becomes > synonyms: > > > cart, shopping, market, trolley > > so cart is synonym with shopping. How should I define my synonyms.txt file > that it will understand that cart is synonym to "shopping cart"? >