
上QQ阅读APP看书,第一时间看更新
Other datatypes
The other datatypes supported by Elasticsearch are as follows:
- Geo-point datatype: Allows the storing of geo-points as longitude and latitude. The geo-point datatype enables queries such as searching across all ATMs within a distance of 2 km from a point.
- Geo-shape datatype: Allows you to store geometric shapes such as polygons, maps, and more. Geo-shape enables queries such as searching for all items within a shape.
- IP datatype: Allows you to store IPv4 and IPv6 addresses.