You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nutch.apache.org by ma...@apache.org on 2011/04/28 13:18:32 UTC

svn commit: r1097416 - in /nutch/trunk: CHANGES.txt src/java/org/apache/nutch/indexer/solr/SolrDeleteDuplicates.java

Author: markus
Date: Thu Apr 28 11:18:32 2011
New Revision: 1097416

URL: http://svn.apache.org/viewvc?rev=1097416&view=rev
Log:
NUTCH-991 SolrDedup must issue a commit

Modified:
    nutch/trunk/CHANGES.txt
    nutch/trunk/src/java/org/apache/nutch/indexer/solr/SolrDeleteDuplicates.java

Modified: nutch/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/nutch/trunk/CHANGES.txt?rev=1097416&r1=1097415&r2=1097416&view=diff
==============================================================================
--- nutch/trunk/CHANGES.txt (original)
+++ nutch/trunk/CHANGES.txt Thu Apr 28 11:18:32 2011
@@ -2,6 +2,8 @@ Nutch Change Log
 
 Release 2.0 - Current Development
 
+* NUTCH-991 SolrDedup must issue a commit (markus)
+
 * NUTCH 986 SolrDedup fails due to date incorrect format (markus)
 
 * NUTCH-977 SolrMappingReader uses hardcoded configuration parameter name for mapping file (markus)

Modified: nutch/trunk/src/java/org/apache/nutch/indexer/solr/SolrDeleteDuplicates.java
URL: http://svn.apache.org/viewvc/nutch/trunk/src/java/org/apache/nutch/indexer/solr/SolrDeleteDuplicates.java?rev=1097416&r1=1097415&r2=1097416&view=diff
==============================================================================
--- nutch/trunk/src/java/org/apache/nutch/indexer/solr/SolrDeleteDuplicates.java (original)
+++ nutch/trunk/src/java/org/apache/nutch/indexer/solr/SolrDeleteDuplicates.java Thu Apr 28 11:18:32 2011
@@ -316,6 +316,8 @@ implements Tool {
     try {
       if (numDeletes > 0) {
         updateRequest.process(solr);
+
+        solr.commit();
       }
     } catch (SolrServerException e) {
       throw new IOException(e);