manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1487998 - /manifoldcf/trunk/connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch/ElasticSearchIndex.java
Date Thu, 30 May 2013 20:35:48 GMT
Author: kwright
Date: Thu May 30 20:35:48 2013
New Revision: 1487998

URL: http://svn.apache.org/r1487998
Log:
Remove type:attachment clause since apparently it is unneeded.  Part of CONNECTORS-690.

Modified:
    manifoldcf/trunk/connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch/ElasticSearchIndex.java

Modified: manifoldcf/trunk/connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch/ElasticSearchIndex.java
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch/ElasticSearchIndex.java?rev=1487998&r1=1487997&r2=1487998&view=diff
==============================================================================
--- manifoldcf/trunk/connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch/ElasticSearchIndex.java
(original)
+++ manifoldcf/trunk/connectors/elasticsearch/connector/src/main/java/org/apache/manifoldcf/agents/output/elasticsearch/ElasticSearchIndex.java
Thu May 30 20:35:48 2013
@@ -116,7 +116,8 @@ public class ElasticSearchIndex extends 
           if(needComma){
             pw.print(",");
           }
-          pw.print("\"type\" : \"attachment\",");
+          // I'm told this is not necessary: see CONNECTORS-690
+          //pw.print("\"type\" : \"attachment\",");
           pw.print("\"file\" : {");
           String contentType = document.getMimeType();
           if (contentType != null)



Mime
View raw message