> Our application currently maintains synonyms in its
> database ; we could
> export this data to 'synonyms.txt', but would prefer a db
> aware
> implementationv of SynonymFilterFactory, i.e. avoiding that
> middle step.
> 
> From the looks of the class (private instances, static
> methods), it doesn't
> lend itself to easy subclassing..

"just write your own DataBaseSynonymFilterFactory 
that loads the synonyms from your db using your custom logic and then 
constructs the SynonymFilter objects like the existing factory" [1]

[1] http://search-lucene.com/m/Av4xC1PtNLW1/


      

Reply via email to