lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rm...@apache.org
Subject svn commit: r1436659 - /lucene/dev/branches/lucene4547/lucene/core/src/test/org/apache/lucene/search/TestSort.java
Date Mon, 21 Jan 2013 22:22:38 GMT
Author: rmuir
Date: Mon Jan 21 22:22:37 2013
New Revision: 1436659

URL: http://svn.apache.org/viewvc?rev=1436659&view=rev
Log:
clear nocommit

Modified:
    lucene/dev/branches/lucene4547/lucene/core/src/test/org/apache/lucene/search/TestSort.java

Modified: lucene/dev/branches/lucene4547/lucene/core/src/test/org/apache/lucene/search/TestSort.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene4547/lucene/core/src/test/org/apache/lucene/search/TestSort.java?rev=1436659&r1=1436658&r2=1436659&view=diff
==============================================================================
--- lucene/dev/branches/lucene4547/lucene/core/src/test/org/apache/lucene/search/TestSort.java
(original)
+++ lucene/dev/branches/lucene4547/lucene/core/src/test/org/apache/lucene/search/TestSort.java
Mon Jan 21 22:22:37 2013
@@ -445,11 +445,7 @@ public class TestSort extends LuceneTest
     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;
     }



Mime
View raw message