jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tomm...@apache.org
Subject svn commit: r1450105 - in /jackrabbit/oak/trunk/oak-solr-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/solr/index: SolrIndexHook.java SolrNodeStateDiff.java
Date Tue, 26 Feb 2013 10:05:18 GMT
Author: tommaso
Date: Tue Feb 26 10:05:18 2013
New Revision: 1450105

URL: http://svn.apache.org/r1450105
Log:
OAK-655 - switched to hard commit as default for non configurable hooks

Modified:
    jackrabbit/oak/trunk/oak-solr-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/solr/index/SolrIndexHook.java
    jackrabbit/oak/trunk/oak-solr-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/solr/index/SolrNodeStateDiff.java

Modified: jackrabbit/oak/trunk/oak-solr-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/solr/index/SolrIndexHook.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-solr-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/solr/index/SolrIndexHook.java?rev=1450105&r1=1450104&r2=1450105&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-solr-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/solr/index/SolrIndexHook.java
(original)
+++ jackrabbit/oak/trunk/oak-solr-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/solr/index/SolrIndexHook.java
Tue Feb 26 10:05:18 2013
@@ -203,7 +203,7 @@ public class SolrIndexHook implements In
             }
 
             if (somethingToSend) {
-                solrServer.commit(false, false, true); // default to softCommit
+                solrServer.commit();
             }
 
             if (log.isDebugEnabled()) {

Modified: jackrabbit/oak/trunk/oak-solr-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/solr/index/SolrNodeStateDiff.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-solr-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/solr/index/SolrNodeStateDiff.java?rev=1450105&r1=1450104&r2=1450105&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-solr-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/solr/index/SolrNodeStateDiff.java
(original)
+++ jackrabbit/oak/trunk/oak-solr-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/solr/index/SolrNodeStateDiff.java
Tue Feb 26 10:05:18 2013
@@ -70,8 +70,7 @@ class SolrNodeStateDiff implements NodeS
                 solrServer.deleteByQuery(deleteByIdQueryBuilder.append(")").toString());
             }
 
-            // default to softCommit
-            solrServer.commit(false, false, true);
+            solrServer.commit();
 
             if (log.isDebugEnabled()) {
                 log.debug(new StringBuilder("added ").append(solrInputDocuments.size()).append("
documents").toString());



Mime
View raw message