Binary field compression causes wrong _source decoding, closes #1475.

This commit is contained in:
Shay Banon 2011-11-20 12:59:22 +02:00
parent 3ee92854bb
commit bb8ff3814e
1 changed files with 0 additions and 2 deletions

View File

@ -168,8 +168,6 @@ public class BinaryFieldMapper extends AbstractFieldMapper<byte[]> {
// TODO, we we had a handle into when we are done with parsing, then we push back then and not copy over bytes
value = cachedEntry.bytes().copiedByteArray();
CachedStreamOutput.pushEntry(cachedEntry);
// update the data in the context, so it can be compressed and stored compressed outside...
context.source(value, 0, value.length);
}
}
}