Quick question, I don\'t know how to deal with synonyms which contains a space! I have the following config:
The SOLR config file
About
st., st => saint
I think you should do it that way :
st. => saint
st => saint
About
NY => New York
I'm facing a similar issue and came to the conclusion that it's because parsing is done BEFORE synonym replacement, which is likely causing a problem when multi word. I found that it is possible to include a parser into SynonymFactory :
I just tested it I got much better results, but not yet the one expected. Strangely enough, when adding KeywordTokenizerFactory seems to impact positvely, adding WhitespaceTokenizerFactory or StandardTokenizerFactory doesn't seem to change anything.
BTW, if not using shingles, this should already be fine.