Ok, so I'm digging through the code and I noticed in org.apache.lucene.analysis.synonym.SynonymFilter there are mentions of a keepOrig attribute. Doing some googling led me to http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters which speaks of an attribute preserveOriginal="1" on solr.WordDelimiterFilterFactory. So it seems like I can get the functionality I am looking for by setting preserveOriginal, is that correct?
On Fri, Mar 9, 2012 at 9:53 AM, Ahmet Arslan <iori...@yahoo.com> wrote: >> I'd be very interested to see how you >> did this if it is available. Does >> this seem like something useful to the community at large? > > I PMed it to you. Filter is not a big deal. Just modified from {@link > org.apache.lucene.wordnet.SynonymTokenFilter}. If requested, I can provide > it publicly too.