Skip to content

Commit 412e163

Browse files
authored
[Doc] migration guide joda (#51986)
The joda to java.time migration requires users to upgrade their mappings. We allow them to still use 6.x created indices with joda patterns in 7 but ask them to upgrade their patterns in 7.x. This migration guide is to help them understand how they could be affected and what needs to be changed in their mappings. closes #51614 closes #51236
1 parent f003a41 commit 412e163

File tree

9 files changed

+464
-0
lines changed

9 files changed

+464
-0
lines changed

docs/reference/migration/migrate_7_0/java_time.asciidoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ When you are running Elasticsearch 7 with Java 8, you are not able to parse
8989
the timezone `GMT0` properly anymore. The reason for this is a bug in the
9090
JDK, which has not been fixed for JDK8. You can read more in the
9191
https://bugs.openjdk.java.net/browse/JDK-8138664[official issue]
92+
This bug is fixed in JDK9 and later versions.
9293

9394
[float]
9495
==== Scripting with dates should use java time based methods
@@ -125,3 +126,10 @@ and should be replaced.
125126

126127
With the switch to java time, support for negative timestamps has been removed.
127128
For dates before 1970, use a date format containing a year.
129+
130+
131+
[float]
132+
==== Migration guide
133+
For a detailed migration guide, see <<migrate-to-java-time>>.
134+
135+
include::migrate_to_java_time.asciidoc[]

0 commit comments

Comments
 (0)