typo in documentation
This commit is contained in:
parent
6eea5b78da
commit
4ddc50e86d
4
query.go
4
query.go
|
@ -209,8 +209,8 @@ func NewGeoBoundingBoxQuery(topLeftLon, topLeftLat, bottomRightLon, bottomRightL
|
||||||
return query.NewGeoBoundingBoxQuery(topLeftLon, topLeftLat, bottomRightLon, bottomRightLat)
|
return query.NewGeoBoundingBoxQuery(topLeftLon, topLeftLat, bottomRightLon, bottomRightLat)
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewGeoDistanceQuery creates a new Query for performing geo bounding
|
// NewGeoDistanceQuery creates a new Query for performing geo distance
|
||||||
// box searches. The arguments describe a position and a distance. Documents
|
// 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
|
// which have an indexed geo point which is less than or equal to the provided
|
||||||
// distance from the given position will be returned.
|
// distance from the given position will be returned.
|
||||||
func NewGeoDistanceQuery(lon, lat float64, distance string) *query.GeoDistanceQuery {
|
func NewGeoDistanceQuery(lon, lat float64, distance string) *query.GeoDistanceQuery {
|
||||||
|
|
Loading…
Reference in New Issue