mirror of https://github.com/apache/lucene.git
LUCENE-4425: respect offset/length for binary field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1390261 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b36bfbf733
commit
e222601b94
|
@ -452,7 +452,7 @@ public class SolrIndexSearcher extends IndexSearcher implements Closeable,SolrIn
|
|||
|
||||
@Override
|
||||
public void binaryField(FieldInfo fieldInfo, byte[] value, int offset, int length) throws IOException {
|
||||
doc.add(new StoredField(fieldInfo.name, value));
|
||||
doc.add(new StoredField(fieldInfo.name, value, offset, length));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue