mirror of https://github.com/apache/lucene.git
clear nocommit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1436659 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
456e12fbd8
commit
b335c26866
|
@ -445,11 +445,7 @@ public class TestSort extends LuceneTestCase {
|
|||
if (dvStringSorted) {
|
||||
// If you index as sorted source you can still sort by
|
||||
// value instead:
|
||||
// nocommit re-enable? we need to fix FC.getTerms to
|
||||
// "fallback" to getTermsIndex if the sorted DV is
|
||||
// available
|
||||
//return random().nextBoolean() ? SortField.Type.STRING : SortField.Type.STRING_VAL;
|
||||
return SortField.Type.STRING;
|
||||
return random().nextBoolean() ? SortField.Type.STRING : SortField.Type.STRING_VAL;
|
||||
} else {
|
||||
return SortField.Type.STRING_VAL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue