1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-18 16:14:26 +00:00
gitea/vendor/github.com/blevesearch/bleve/geo
Mura Li d77176912b Use Go1.11 module (#5743)
* Migrate to go modules

* make vendor

* Update mvdan.cc/xurls

* make vendor

* Update code.gitea.io/git

* make fmt-check

* Update github.com/go-sql-driver/mysql

* make vendor
2019-03-27 19:15:23 +08:00
..
geo_dist.go Improve issue search (#2387) 2017-09-16 23:16:21 +03:00
geo.go Improve issue search (#2387) 2017-09-16 23:16:21 +03:00
geohash.go Update bleve dependency to latest master revision (#6100) 2019-02-17 19:50:26 -05:00
parse.go Update bleve dependency to latest master revision (#6100) 2019-02-17 19:50:26 -05:00
README.md Use Go1.11 module (#5743) 2019-03-27 19:15:23 +08:00
sloppy.go Improve issue search (#2387) 2017-09-16 23:16:21 +03:00

geo support in bleve

First, all of this geo code is a Go adaptation of the Lucene 5.3.2 sandbox geo support.

Notes

  • All of the APIs will use float64 for lon/lat values.
  • When describing a point in function arguments or return values, we always use the order lon, lat.
  • High level APIs will use TopLeft and BottomRight to describe bounding boxes. This may not map cleanly to min/max lon/lat when crossing the dateline. The lower level APIs will use min/max lon/lat and require the higher-level code to split boxes accordingly.