mirror of https://github.com/apache/lucene.git
fix TestSort
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1433748 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e1d294b8e1
commit
a7e4ae4bbc
|
@ -1274,9 +1274,10 @@ class FieldCacheImpl implements FieldCache {
|
|||
throws IOException {
|
||||
|
||||
BinaryDocValues valuesIn = reader.getBinaryDocValues(key.field);
|
||||
|
||||
// TODO: would be nice to fallback to SortedDV if it's
|
||||
// available but BinaryDV isn't?
|
||||
if (valuesIn == null) {
|
||||
// nocommit is this auto-fallback ... OK?
|
||||
valuesIn = reader.getSortedDocValues(key.field);
|
||||
}
|
||||
|
||||
if (valuesIn != null) {
|
||||
return valuesIn;
|
||||
|
|
Loading…
Reference in New Issue