How to find duplicates in lucene documents?

736 Views Asked by At

In lucene

  1. How can we find two documents having same ids?

  2. How can we find two documents having similar names(with some spelling mistake in one of the name)?

1

There are 1 best solutions below

0
On

if your document have any field like hashvalue, you can use Duplicate Filter and avoid duplicate document while searching.