You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by gs...@apache.org on 2009/11/20 23:10:57 UTC
svn commit: r882734 - in /lucene/solr/trunk: CHANGES.txt
src/java/org/apache/solr/update/DocumentBuilder.java
Author: gsingers
Date: Fri Nov 20 22:10:57 2009
New Revision: 882734
URL: http://svn.apache.org/viewvc?rev=882734&view=rev
Log:
SOLR-1582: fix binary field copyField handling
Modified:
lucene/solr/trunk/CHANGES.txt
lucene/solr/trunk/src/java/org/apache/solr/update/DocumentBuilder.java
Modified: lucene/solr/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/CHANGES.txt?rev=882734&r1=882733&r2=882734&view=diff
==============================================================================
--- lucene/solr/trunk/CHANGES.txt (original)
+++ lucene/solr/trunk/CHANGES.txt Fri Nov 20 22:10:57 2009
@@ -59,6 +59,8 @@
* SOLR-1572: FastLRUCache correctly implemented the LRU policy only
for the first 2B accesses. (yonik)
+* SOLR-1582: Fix BinaryField copy in DocumentBuilder (gsingers)
+
Other Changes
----------------------
Modified: lucene/solr/trunk/src/java/org/apache/solr/update/DocumentBuilder.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/update/DocumentBuilder.java?rev=882734&r1=882733&r2=882734&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/update/DocumentBuilder.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/update/DocumentBuilder.java Fri Nov 20 22:10:57 2009
@@ -267,7 +267,7 @@
if (isBinaryField) {
if (destinationField.getType() instanceof BinaryField) {
BinaryField binaryField = (BinaryField) destinationField.getType();
- binaryField.createField(destinationField, v, boost);
+ f = binaryField.createField(destinationField, v, boost);
}
} else {
f = destinationField.createField(cf.getLimitedValue(val), boost);