mirror of https://github.com/apache/lucene.git
SOLR-1582: fix binary field copyField handling
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@882734 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f9353351cc
commit
7a9c7583e9
|
@ -59,6 +59,8 @@ Bug Fixes
|
|||
* 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
|
||||
----------------------
|
||||
|
|
|
@ -267,7 +267,7 @@ public class DocumentBuilder {
|
|||
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);
|
||||
|
|
Loading…
Reference in New Issue