elasticsearch/docs/reference/mapping
Jim Ferenczi 701abc6bea
Change default format for date_nanos field (#70463)
This commit updates the default format of date_nanos field
on existing and new indices to use `strict_date_optional_time_nanos` instead of
`strict_date_optional_time`.
Using `strict_date_optional_time` as the default format for date_nanos doesn't
make sense because it accepts and parses dates with nanosecond precision,
but when it formats it drops the nanoseconds.
The change should be transparent for users, these formats accept the same input.

Relates #69192
Closes #67063
2021-03-17 11:40:32 +01:00
..
dynamic [DOCS] Replace put with create or update in API names (#70330) 2021-03-15 14:49:44 -04:00
fields [DOCS] Replace put with create or update in API names (#70330) 2021-03-15 14:49:44 -04:00
params [DOCS] Replace put with create or update in API names (#70330) 2021-03-15 14:49:44 -04:00
types Change default format for date_nanos field (#70463) 2021-03-17 11:40:32 +01:00
dynamic-mapping.asciidoc [DOCS] Clean up index template xrefs (#67264) 2021-01-11 12:38:09 -05:00
explicit-mapping.asciidoc [DOCS] Replace put with create or update in API names (#70330) 2021-03-15 14:49:44 -04:00
fields.asciidoc Fix typo in fields doc (#64600) 2020-11-04 19:51:14 +02:00
mapping-settings-limit.asciidoc [DOCS] Add docs for runtime fields (#62653) 2020-12-09 17:54:58 -05:00
params.asciidoc Clarify field data cache behavior in docs (#64375) 2020-11-20 13:53:23 -08:00
removal_of_types.asciidoc [DOCS] Runtime fields improvements (#66530) 2021-01-11 12:31:26 -05:00
runtime.asciidoc [DOCS] Remove beta admonition for runtime fields. (#69550) 2021-02-24 11:35:11 -05:00
types.asciidoc [DOCS] Added docs for aggregate_metric_double field (#66306) 2020-12-15 19:27:10 +02:00