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:
Robert Muir 2011-12-10 17:54:46 +00:00
parent 75d6217091
commit d0453d820c
1 changed files with 2 additions and 1 deletions

View File

@ -460,9 +460,10 @@ public class ParallelReader extends IndexReader {
}
}
// TODO: I suspect this is completely untested!!!!!
@Override
public DocValues docValues(String field) throws IOException {
IndexReader reader = fieldToReader.get(field);
return reader == null ? null : reader.docValues(field);
return reader == null ? null : MultiDocValues.getDocValues(reader, field);
}
}