Skip to content

Commit b772620

Browse files
authored
[doc] Mention dates_nanos in dates field type page (#93828) (#93836)
1 parent d357bb5 commit b772620

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
@@ -16,6 +16,8 @@ formatted date to represent dates before 1970.
1616
Internally, dates are converted to UTC (if the time-zone is specified) and
1717
stored as a long number representing milliseconds-since-the-epoch.
1818

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

0 commit comments

Comments
 (0)