Date and geo types #
date
#
A date-time value. Internally stored as epoch milliseconds; accepted input
depends on the field’s
format
(default strict_date_optional_time||epoch_millis), so both ISO-8601
strings ("2024-06-15T10:30:00Z") and raw millisecond integers work. Used
by
date range,
date histogram
aggregations and sort.
Parameters for date fields
#
Support indexing multiple values #
Yes
geo_point
#
A latitude/longitude point ({"lat": 39.9, "lon": 116.4}), indexed for
geo bounding box and
geo distance queries. Distances use
haversine on WGS-84 in metres.
Parameters for geo_point fields
#
Support indexing multiple values #
Yes — a field may hold multiple points.