manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1770577 - in /manifoldcf/trunk: CHANGES.txt connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/HttpPoster.java
Date Sun, 20 Nov 2016 16:50:27 GMT
Author: kwright
Date: Sun Nov 20 16:50:27 2016
New Revision: 1770577

URL: http://svn.apache.org/viewvc?rev=1770577&view=rev
Log:
Fix for CONNECTORS-1349.  Committed on behalf of Cihad Guzel.

Modified:
    manifoldcf/trunk/CHANGES.txt
    manifoldcf/trunk/connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/HttpPoster.java

Modified: manifoldcf/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/CHANGES.txt?rev=1770577&r1=1770576&r2=1770577&view=diff
==============================================================================
--- manifoldcf/trunk/CHANGES.txt (original)
+++ manifoldcf/trunk/CHANGES.txt Sun Nov 20 16:50:27 2016
@@ -3,10 +3,14 @@ $Id$
 
 ======================= 2.6-dev =====================
 
+CONNECTORS-1349: Fix the modified_date and original_size Solr 
+attributes.
+(Cihad Guzel)
+
 CONNECTORS-1338: Upgrade to SolrJ 6.3.0.
 (Shinichiro Abe)
 
-CONNETORS-1343: Allow maximum year in report UI to be set based
+CONNECTORS-1343: Allow maximum year in report UI to be set based
 on current year.
 (Markus Schuch)
 

Modified: manifoldcf/trunk/connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/HttpPoster.java
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/HttpPoster.java?rev=1770577&r1=1770576&r2=1770577&view=diff
==============================================================================
--- manifoldcf/trunk/connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/HttpPoster.java
(original)
+++ manifoldcf/trunk/connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/HttpPoster.java
Sun Nov 20 16:50:27 2016
@@ -1109,7 +1109,7 @@ public class HttpPoster
         Long size = document.getOriginalSize();
         if (size != null)
           // Write value
-          writeField(out,LITERAL+modifiedDateAttributeName,size.toString());
+          writeField(out,LITERAL+originalSizeAttributeName,size.toString());
       }
       if (modifiedDateAttributeName != null)
       {



Mime
View raw message