Using Solr Deduplication with the overWriteDupes Symbol

I had a configuration where I had "overwriteDupes" = false. I have added some duplicate documents. Result: I got duplicate documents in the index.

When I switched to "overwriteDupes" = true, duplicate documents started overwriting old documents.

Question 1: How can I achieve, [add, if not, failed if a duplicate is found), i.e. mimic database behavior that fails when inserting a record that violates some unique constraint. I thought that "overwriteDupes" = false would do this, but apparently not.

Question2: Is there any documentation around overwriteDupes? I checked the existing Wiki; there are very few flag explanations.

Thank,

-Amit

+3
source share
1

-, "overwriteDupes" = false . , , , , .

Solr.

[, , , ) Solr.

+2

All Articles