mirror of https://github.com/apache/lucene.git
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:
parent
fe9d473743
commit
edf84b6b55
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue