You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/asciidoc/reference/elasticsearch-object-mapping.adoc
+1-2
Original file line number
Diff line number
Diff line change
@@ -64,8 +64,7 @@ See https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-type
64
64
* `@GeoPoint`: marks a field as _geo_point_ datatype.
65
65
Can be omitted if the field is an instance of the `GeoPoint` class.
66
66
67
-
NOTE: Properties that derive from `TemporalAccessor` or are of type `java.util.Date` must either have a `@Field` annotation of type `FieldType.Date` and a
68
-
format different from `DateFormat.none` or a custom converter must be registered for this type. +
67
+
NOTE: Properties that derive from `TemporalAccessor` or are of type `java.util.Date` must either have a `@Field` annotation of type `FieldType.Date`.
69
68
If you are using a custom date format, you need to use _uuuu_ for the year instead of _yyyy_.
70
69
This is due to a https://www.elastic.co/guide/en/elasticsearch/reference/current/migrate-to-java-time.html#java-time-migration-incompatible-date-formats[change in Elasticsearch 7].
Copy file name to clipboardExpand all lines: src/main/java/org/springframework/data/elasticsearch/core/mapping/SimpleElasticsearchPersistentProperty.java
0 commit comments