lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uschind...@apache.org
Subject svn commit: r834810 - in /lucene/java/branches/lucene_2_9_back_compat_tests/src/test/org/apache/lucene/search/function: TestOrdValues.java TestValueSource.java
Date Wed, 11 Nov 2009 09:09:34 GMT
Author: uschindler
Date: Wed Nov 11 09:09:33 2009
New Revision: 834810

URL: http://svn.apache.org/viewvc?rev=834810&view=rev
Log:
LUCENE-1973: Fix BW tests

Removed:
    lucene/java/branches/lucene_2_9_back_compat_tests/src/test/org/apache/lucene/search/function/TestValueSource.java
Modified:
    lucene/java/branches/lucene_2_9_back_compat_tests/src/test/org/apache/lucene/search/function/TestOrdValues.java

Modified: lucene/java/branches/lucene_2_9_back_compat_tests/src/test/org/apache/lucene/search/function/TestOrdValues.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_9_back_compat_tests/src/test/org/apache/lucene/search/function/TestOrdValues.java?rev=834810&r1=834809&r2=834810&view=diff
==============================================================================
--- lucene/java/branches/lucene_2_9_back_compat_tests/src/test/org/apache/lucene/search/function/TestOrdValues.java
(original)
+++ lucene/java/branches/lucene_2_9_back_compat_tests/src/test/org/apache/lucene/search/function/TestOrdValues.java
Wed Nov 11 09:09:33 2009
@@ -58,9 +58,9 @@
     IndexSearcher s = new IndexSearcher(dir, true);
     ValueSource vs;
     if (inOrder) {
-      vs = new MultiValueSource(new OrdFieldSource(field));
+      vs = new OrdFieldSource(field);
     } else {
-      vs = new MultiValueSource(new ReverseOrdFieldSource(field));
+      vs = new ReverseOrdFieldSource(field);
     }
         
     Query q = new ValueSourceQuery(vs);



Mime
View raw message