diff --git a/zulia-server/src/main/java/io/zulia/server/index/ShardReader.java b/zulia-server/src/main/java/io/zulia/server/index/ShardReader.java index e8fda3b9..a0cade12 100644 --- a/zulia-server/src/main/java/io/zulia/server/index/ShardReader.java +++ b/zulia-server/src/main/java/io/zulia/server/index/ShardReader.java @@ -653,8 +653,8 @@ protected boolean match(int doc) { if (fullDocValues != null) { fullDocValues.advanceExact(docId); } - BytesRef meta = metaDocValues != null ? metaDocValues.binaryValue() : new BytesRef(BytesRef.EMPTY_BYTES); - BytesRef fullDoc = fullDocValues != null ? fullDocValues.binaryValue() : new BytesRef(BytesRef.EMPTY_BYTES); + BytesRef meta = metaDocValues != null ? metaDocValues.binaryValue() : null; + BytesRef fullDoc = fullDocValues != null ? fullDocValues.binaryValue() : null; documentConsumer.accept(new ReIndexContainer(idDocValues.binaryValue(), meta, fullDoc)); }