DuplicateFilter in Hibernate Search

2019-07-10 18:36发布

I know there is a built-in DuplicateFilter in Lucene, to deduplicate the results from lucene. This is a very important feature for the users to search on the document database, where duplicating rate is very high.

As I am using Hibernate Search to do the full text index/search, and wondering if there is a way for me bring the DuplicateFilter on Lucene to the Hibernate Search?

1条回答
贼婆χ
2楼-- · 2019-07-10 19:16

It is possible by using filters. See for BestDriversFilter - it extends org.apache.lucene.search.Filter in the same way as DuplicateFilter.

查看更多
登录 后发表回答