LUCENE-1878: cutover TestCartesian to DistanceFieldComparatorSource

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@810648 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2009-09-02 18:20:13 +00:00
parent fe9d473743
commit edf84b6b55
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ public class TestCartesian extends TestCase{
// 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