manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1729454 - in /manifoldcf/trunk: ./ connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch/
Date Tue, 09 Feb 2016 20:48:15 GMT
Author: kwright
Date: Tue Feb  9 20:48:15 2016
New Revision: 1729454

URL: http://svn.apache.org/viewvc?rev=1729454&view=rev
Log:
Tentative fix for CONNECTORS-1272.

Modified:
    manifoldcf/trunk/CHANGES.txt
    manifoldcf/trunk/connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch/ElasticSearchAction.java
    manifoldcf/trunk/connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch/ElasticSearchConnector.java

Modified: manifoldcf/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/CHANGES.txt?rev=1729454&r1=1729453&r2=1729454&view=diff
==============================================================================
--- manifoldcf/trunk/CHANGES.txt (original)
+++ manifoldcf/trunk/CHANGES.txt Tue Feb  9 20:48:15 2016
@@ -3,6 +3,9 @@ $Id$
 
 ======================= 2.4-dev =====================
 
+CONNECTORS-1272: Update _status command for Elastic Search to _stats.
+(Andrey Leybovich, Karl Wright)
+
 CONNECTORS-1271: Broken AmazonCloudSearch connector.
 (Juan Pablo Diaz-Vaz, Karl Wright)
 

Modified: manifoldcf/trunk/connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch/ElasticSearchAction.java
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch/ElasticSearchAction.java?rev=1729454&r1=1729453&r2=1729454&view=diff
==============================================================================
--- manifoldcf/trunk/connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch/ElasticSearchAction.java
(original)
+++ manifoldcf/trunk/connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch/ElasticSearchAction.java
Tue Feb  9 20:48:15 2016
@@ -35,7 +35,7 @@ public class ElasticSearchAction extends
 
   public enum CommandEnum
   {
-    _optimize, _refresh, _status;
+    _optimize, _refresh, _stats;
   }
 
   public ElasticSearchAction(HttpClient client, ElasticSearchConfig config)

Modified: manifoldcf/trunk/connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch/ElasticSearchConnector.java
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch/ElasticSearchConnector.java?rev=1729454&r1=1729453&r2=1729454&view=diff
==============================================================================
--- manifoldcf/trunk/connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch/ElasticSearchConnector.java
(original)
+++ manifoldcf/trunk/connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch/ElasticSearchConnector.java
Tue Feb  9 20:48:15 2016
@@ -413,7 +413,7 @@ public class ElasticSearchConnector exte
     ElasticSearchAction oss = new ElasticSearchAction(client, getConfigParameters(null));
     try
     {
-      oss.execute(CommandEnum._status, true);
+      oss.execute(CommandEnum._stats, true);
       String resultName = oss.getResult().name();
       if (resultName.equals("OK"))
         return super.check();



Mime
View raw message