custom synonyms support for lucene [closed]
Question
can any one direct me on creating the custom synonyms using lucene in java?
Solution
If you use Solr, you can use a SynonymFilterFactory. Otherwise, Lucene In Action has an example of how to write a synonym filter if you want to do it in pure Lucene.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow