From 389992cf99159e646ba91afa741ef891b5d7be0c Mon Sep 17 00:00:00 2001 From: Shalin Shekhar Mangar Date: Mon, 9 Mar 2015 01:59:40 +0000 Subject: [PATCH] SOLR-4464: DIH Processed documents counter resets to zero after first entity is processed git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1665110 13f79535-47bb-0310-9956-ffa450edef68 --- solr/CHANGES.txt | 3 +++ .../java/org/apache/solr/handler/dataimport/DocBuilder.java | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt index ce1c7ff7a65..ab4b82e0794 100644 --- a/solr/CHANGES.txt +++ b/solr/CHANGES.txt @@ -200,6 +200,9 @@ Bug Fixes * SOLR-6657: DocumentDictionaryFactory requires weightField to be mandatory, but it shouldn't (Erick Erickson) +* SOLR-4464: DIH Processed documents counter resets to zero after first entity is processed. + (Dave Cook, Shawn Heisey, Aaron Greenspan, Thomas Champagne via shalin) + Optimizations ---------------------- diff --git a/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/DocBuilder.java b/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/DocBuilder.java index 3e552374c1e..a2337b18d8e 100644 --- a/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/DocBuilder.java +++ b/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/DocBuilder.java @@ -236,7 +236,6 @@ public class DocBuilder { cleanByQuery(delQuery, fullCleanDone); } } - statusMessages.remove(DataImporter.MSG.TOTAL_DOC_PROCESSED); } if (stop.get()) {