You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sa...@apache.org on 2015/01/24 02:07:46 UTC

svn commit: r1654445 - in /lucene/dev/branches/branch_5x: ./ solr/ solr/CHANGES.txt solr/contrib/ solr/contrib/extraction/src/java/org/apache/solr/handler/extraction/SolrContentHandler.java

Author: sarowe
Date: Sat Jan 24 01:07:46 2015
New Revision: 1654445

URL: http://svn.apache.org/r1654445
Log:
SOLR-6856: fix preceding whitespace for attribute values dumped into the catch-all field. (merged trunk r1654444)

Modified:
    lucene/dev/branches/branch_5x/   (props changed)
    lucene/dev/branches/branch_5x/solr/   (props changed)
    lucene/dev/branches/branch_5x/solr/CHANGES.txt   (contents, props changed)
    lucene/dev/branches/branch_5x/solr/contrib/   (props changed)
    lucene/dev/branches/branch_5x/solr/contrib/extraction/src/java/org/apache/solr/handler/extraction/SolrContentHandler.java

Modified: lucene/dev/branches/branch_5x/solr/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_5x/solr/CHANGES.txt?rev=1654445&r1=1654444&r2=1654445&view=diff
==============================================================================
--- lucene/dev/branches/branch_5x/solr/CHANGES.txt (original)
+++ lucene/dev/branches/branch_5x/solr/CHANGES.txt Sat Jan 24 01:07:46 2015
@@ -496,7 +496,7 @@ Bug Fixes
   (shalin)
   
 * SOLR-6856: Restore ExtractingRequestHandler's ability to capture all HTML tags when
-  parsing (X)HTML. (hossman, ehatcher, Steve Rowe)
+  parsing (X)HTML. (hossman, Uwe Schindler, ehatcher, Steve Rowe)
 
 * SOLR-7024: Improved error messages when java is not found by the bin/solr
   shell script, particularly when JAVA_HOME has an invalid location.

Modified: lucene/dev/branches/branch_5x/solr/contrib/extraction/src/java/org/apache/solr/handler/extraction/SolrContentHandler.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_5x/solr/contrib/extraction/src/java/org/apache/solr/handler/extraction/SolrContentHandler.java?rev=1654445&r1=1654444&r2=1654445&view=diff
==============================================================================
--- lucene/dev/branches/branch_5x/solr/contrib/extraction/src/java/org/apache/solr/handler/extraction/SolrContentHandler.java (original)
+++ lucene/dev/branches/branch_5x/solr/contrib/extraction/src/java/org/apache/solr/handler/extraction/SolrContentHandler.java Sat Jan 24 01:07:46 2015
@@ -280,7 +280,7 @@ public class SolrContentHandler extends
       }
     } else {
       for (int i = 0; i < attributes.getLength(); i++) {
-        bldrStack.getLast().append(attributes.getValue(i)).append(' ');
+        bldrStack.getLast().append(' ').append(attributes.getValue(i));
       }
     }
     bldrStack.getLast().append(' ');