lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r810648 - /lucene/java/trunk/contrib/spatial/src/test/org/apache/lucene/spatial/tier/TestCartesian.java
Date Wed, 02 Sep 2009 18:20:13 GMT
Author: mikemccand
Date: Wed Sep  2 18:20:13 2009
New Revision: 810648

URL: http://svn.apache.org/viewvc?rev=810648&view=rev
Log:
LUCENE-1878: cutover TestCartesian to DistanceFieldComparatorSource

Modified:
    lucene/java/trunk/contrib/spatial/src/test/org/apache/lucene/spatial/tier/TestCartesian.java

Modified: lucene/java/trunk/contrib/spatial/src/test/org/apache/lucene/spatial/tier/TestCartesian.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/spatial/src/test/org/apache/lucene/spatial/tier/TestCartesian.java?rev=810648&r1=810647&r2=810648&view=diff
==============================================================================
--- lucene/java/trunk/contrib/spatial/src/test/org/apache/lucene/spatial/tier/TestCartesian.java
(original)
+++ lucene/java/trunk/contrib/spatial/src/test/org/apache/lucene/spatial/tier/TestCartesian.java
Wed Sep  2 18:20:13 2009
@@ -274,7 +274,7 @@
       // As the radius filter has performed the distance calculations
       // already, pass in the filter to reuse the results.
       // 
-      DistanceSortSource dsort = new DistanceSortSource(dq.distanceFilter);
+      DistanceFieldComparatorSource dsort = new DistanceFieldComparatorSource(dq.distanceFilter);
       Sort sort = new Sort(new SortField("foo", dsort));
 	    
       // Perform the search, using the term query, the serial chain filter, and the



Mime
View raw message