Skip to content

Apache Lucene open-source search software

remove obselete warning: this sort makes bounding boxes for you

Robert Muir2c8b2a6cd3e0
diff --git a/lucene/sandbox/src/java/org/apache/lucene/document/LatLonPoint.java b/lucene/sandbox/src/java/org/apache/lucene/document/LatLonPoint.java
index f5541bd9dcf..7c056e25227 100644
--- a/lucene/sandbox/src/java/org/apache/lucene/document/LatLonPoint.java
+++ b/lucene/sandbox/src/java/org/apache/lucene/document/LatLonPoint.java
@@ -336,10 +336,6 @@ public class LatLonPoint extends Field {
* (missing values sort last).
* <p>
* If a document contains multiple values for the field, the <i>closest</i> distance to the location is used.
- * <p>
- * <b>NOTE</b>: distance sorting might be expensive for many documents. Consider restricting the document
- * set with a {@link #newBoxQuery box}, {@link #newDistanceQuery radius} radius, or {@link #newPolygonQuery polygon}
- * query for better performance
*
* @param field field name. cannot be null.
* @param latitude latitude at the center: must be within standard +/-90 coordinate bounds.