From 4ddc50e86deabe3fc6f23dcc28e869eefbf99250 Mon Sep 17 00:00:00 2001 From: Joachim Schwarm Date: Tue, 21 Nov 2017 16:35:07 +0100 Subject: [PATCH] typo in documentation --- query.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/query.go b/query.go index 1fecfa25..523db5ec 100644 --- a/query.go +++ b/query.go @@ -209,8 +209,8 @@ func NewGeoBoundingBoxQuery(topLeftLon, topLeftLat, bottomRightLon, bottomRightL return query.NewGeoBoundingBoxQuery(topLeftLon, topLeftLat, bottomRightLon, bottomRightLat) } -// NewGeoDistanceQuery creates a new Query for performing geo bounding -// box searches. The arguments describe a position and a distance. Documents +// NewGeoDistanceQuery creates a new Query for performing geo distance +// searches. The arguments describe a position and a distance. Documents // which have an indexed geo point which is less than or equal to the provided // distance from the given position will be returned. func NewGeoDistanceQuery(lon, lat float64, distance string) *query.GeoDistanceQuery {