mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 02:14:54 +00:00
Binary field compression causes wrong _source decoding, closes #1475.
This commit is contained in:
parent
3ee92854bb
commit
bb8ff3814e
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user