This is an automated email from the ASF dual-hosted git repository.
snagel pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nutch.git
The following commit(s) were added to refs/heads/master by this push:
new e040ace fix for NUTCH-2269 contributed by r0ann3l
new d2e60ef Merge branch 'r0ann3l/NUTCH-2269', this closes #156
e040ace is described below
commit e040ace189aa0379b998c8852a09c1a1a2308d82
Author: r0ann3l <gitRoann3l;fhdez>
AuthorDate: Tue Nov 1 22:24:46 2016 -0400
fix for NUTCH-2269 contributed by r0ann3l
---
src/java/org/apache/nutch/indexer/CleaningJob.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/java/org/apache/nutch/indexer/CleaningJob.java
b/src/java/org/apache/nutch/indexer/CleaningJob.java
index 6b3dc80..30eae6e 100644
--- a/src/java/org/apache/nutch/indexer/CleaningJob.java
+++ b/src/java/org/apache/nutch/indexer/CleaningJob.java
@@ -119,12 +119,12 @@ public class CleaningJob implements Tool {
// totalDeleted += numDeletes;
// }
- writers.close();
-
if (totalDeleted > 0 && !noCommit) {
writers.commit();
}
+ writers.close();
+
LOG.info("CleaningJob: deleted a total of " + totalDeleted + "
documents");
}
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].