docstore/vendor/github.com/blevesearch/bleve/geo
2020-06-25 15:34:32 +02:00
..
geo.go updated dependencies 2020-06-25 15:34:32 +02:00
geo_dist.go initial commit 2019-04-19 15:45:28 +02:00
geohash.go updated dependencies 2019-08-24 14:28:46 +02:00
parse.go updated dependencies 2020-06-25 15:34:32 +02:00
README.md initial commit 2019-04-19 15:45:28 +02:00
sloppy.go initial commit 2019-04-19 15:45:28 +02: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.