Ah ha .. good thinking ... thanks! Dan
On Wed, Oct 10, 2012 at 2:39 PM, Ahmet Arslan <iori...@yahoo.com> wrote: > > > Token_Input: > > the fox jumped over the lazy dog > > > > Synonym_Map: > > fox => vulpes > > dog => canine > > > > Token_Output: > > vulpes canine > > > > So remove all tokens, but retain those matched against the > > synonym map > > May be you can make use of > http://lucene.apache.org/solr/api-4_0_0-ALPHA/org/apache/solr/analysis/KeepWordFilterFactory.html > . > > You need to copy entries (vulpes, canine) from synonym.txt into > keepwords.txt file. >