On 6/3/2019 2:51 PM, Wendy2 wrote:
Hi,

I am using Solr 7.3.1 to index data via DIH.
Solr admin panel indicated that 152160 documents got indexed, while 3944
documents were deleted. But DIH indicated that added/update: 662059
documents. Deleted 0 documents.
I try to find the deleted documents, but I don't see anywhere in the solr
log. Where could I see it? Is there something I need to configure?  Why the
two status summaries were so different?   Thanks!

When there is an existing document that has the same value in the uniqueKey field as a new one that is being indexed, Solr deletes the current one before it indexes the new one. That operation is silent.

So you may not see any actual deletions in the log.

Probably what's happening is that the 600000 documents that were indexed included duplicates which deleted the previous version automatically. Through segment merging, only 3944 of those deletions remain when the dust settles.

Thanks,
Shawn

Reply via email to