Return-Path: Delivered-To: apmail-lucene-solr-commits-archive@minotaur.apache.org Received: (qmail 7737 invoked from network); 20 Nov 2009 22:11:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Nov 2009 22:11:21 -0000 Received: (qmail 85090 invoked by uid 500); 20 Nov 2009 22:11:21 -0000 Delivered-To: apmail-lucene-solr-commits-archive@lucene.apache.org Received: (qmail 85020 invoked by uid 500); 20 Nov 2009 22:11:20 -0000 Mailing-List: contact solr-commits-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-commits@lucene.apache.org Received: (qmail 85011 invoked by uid 99); 20 Nov 2009 22:11:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Nov 2009 22:11:20 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Nov 2009 22:11:18 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 12CC8238887A; Fri, 20 Nov 2009 22:10:58 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r882734 - in /lucene/solr/trunk: CHANGES.txt src/java/org/apache/solr/update/DocumentBuilder.java Date: Fri, 20 Nov 2009 22:10:57 -0000 To: solr-commits@lucene.apache.org From: gsingers@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20091120221058.12CC8238887A@eris.apache.org> 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);