Skip to content

Commit 3ef2973

Browse files
authored
[doc] Mention dates_nanos in dates field type page (#93828) (#93837)
1 parent 21f6feb commit 3ef2973

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/reference/mapping/types/date.asciidoc

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ JSON doesn't have a date data type, so dates in Elasticsearch can either be:
1313
Internally, dates are converted to UTC (if the time-zone is specified) and
1414
stored as a long number representing milliseconds-since-the-epoch.
1515

16+
NOTE: Use the <<date_nanos,date_nanos>> field type if a nanosecond resolution is expected.
17+
1618
Queries on dates are internally converted to range queries on this long
1719
representation, and the result of aggregations and stored fields is converted
1820
back to a string depending on the date format that is associated with the field.

0 commit comments

Comments
 (0)