- Elasticsearch 7.0 Cookbook(Fourth Edition)
- Alberto Paro
- 63字
- 2021-06-24 14:52:08
Mapping a GeoPoint field
Elasticsearch natively supports the use of geolocation types—special types that allow you to localize your document in geographic coordinates (latitude and longitude) around the world.
There are two main types that are used in the geographic world: the point and the shape. In this recipe, we'll look at GeoPoint—the base element of geo location.