mirror of https://github.com/apache/lucene.git
LUCENE-3606: use MultiDocValues in PR
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3622@1212829 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
75d6217091
commit
d0453d820c
|
@ -460,9 +460,10 @@ public class ParallelReader extends IndexReader {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: I suspect this is completely untested!!!!!
|
||||||
@Override
|
@Override
|
||||||
public DocValues docValues(String field) throws IOException {
|
public DocValues docValues(String field) throws IOException {
|
||||||
IndexReader reader = fieldToReader.get(field);
|
IndexReader reader = fieldToReader.get(field);
|
||||||
return reader == null ? null : reader.docValues(field);
|
return reader == null ? null : MultiDocValues.getDocValues(reader, field);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue