문제

can any one direct me on creating the custom synonyms using lucene in java?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top