Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-1302: javadocs

Grant Ingersoll3e1933134d1e
diff --git a/src/java/org/apache/solr/search/function/distance/DistanceUtils.java b/src/java/org/apache/solr/search/function/distance/DistanceUtils.java
index 4f2a3f96dff..48d908ae24a 100644
--- a/src/java/org/apache/solr/search/function/distance/DistanceUtils.java
+++ b/src/java/org/apache/solr/search/function/distance/DistanceUtils.java
@@ -25,12 +25,12 @@ public class DistanceUtils {
/**
* @see org.apache.solr.search.function.distance.HaversineFunction
*
- * @param x1
- * @param y1
- * @param x2
- * @param y2
- * @param radius
- * @return
+ * @param x1 The x coordinate of the first point
+ * @param y1 The y coordinate of the first point
+ * @param x2 The x coordinate of the second point
+ * @param y2 The y coordinate of the second point
+ * @param radius The radius of the sphere
+ * @return The distance between the two points, as determined by the Haversine formula.
*/
public static double haversine(double x1, double y1, double x2, double y2, double radius){
double result = 0;