Matthew, there is a good page page about synonyms on the Wiki that covers the multi-word synonyms stuff.
Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch ----- Original Message ---- > From: Matthew Runo <[EMAIL PROTECTED]> > To: solr-user@lucene.apache.org > Sent: Monday, August 18, 2008 1:39:52 PM > Subject: Synonyms with spaces not working > > Hello folks! > > Sorry to ask such a basic question but synonyms might be the end of > me.. I suspect that there is something fundamentally wrong with the > field type I've set up.. > > > positionIncrementGap="100"> > > > > > ignoreCase="true" expand="true"/> > > > > words="stopwords.txt"/> > > protected="protwords.txt"/> > > generateNumberParts="1" catenateWords="1" catenateNumbers="1" > catenateAll="0" splitOnCaseChange="1"/> > > > > > In synonyms.txt I have a *large* list of synonyms in the following > format.. > > a, b, c d e, f, g => something > > I'm having the behavior that searches for a, b, f, and g all work, but > the c d e does not. I suspected that was because things were getting > split on white space before they were going to the synonym filter, so > I moved the synonym filters to be before the tokenizer. Something's > still wrong though... any help would be most appreciated! > > Thank you for your time! > > Matthew Runo > Software Engineer, Zappos.com > [EMAIL PROTECTED] - 702-943-7833