> 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.

Reply via email to