6.x/8. Breaking Changes

v6.0-09. Ingest changes

drscg 2017. 12. 20. 16:09

Timestamp meta-data field type has changededit

The type of the "timestamp" meta-data field has changed from java.lang.String to java.util.Date.

"timestamp" meta-data field의 type이 java.lang.String 에서 java.util.Date 으로 변경되었다.

The format of the string-formatted ingest.timestamp field has changededit

Previously, since Elasticsearch 5.4.0, you needed to use ingest.new_date_format to have theingest.timestamp metadata field be formatted in such a way that ES can coerce it to a field of type date without further transformation. This is not necessary anymore and this setting was removed. You can now simply set a field to {{ingest.timestamp}} in a pipeline, and have that field be of type date without any mapping errors.

이전에, Elasticsearch 5.4.0 이후로, ingest.timestamp metadata field가 더 변형하지 않고 ES가 datetype의 field로 강제되는 방식이 되도록 하기 위해서 ingest.new_date_format 을 사용해야 했다. 이는 더 이상 필요하지 않으며 이 설정은 제거되었다. 이제 pipeline에서 field를 {{ingest.timestamp}} 로 설정하면, 해당 field를 mapping error없이 date type으로 지정할 수 있다.


'6.x > 8. Breaking Changes' 카테고리의 다른 글

v6.0-11. Mapping changes  (0) 2017.12.20
v6.0-10. Java API changes  (0) 2017.12.20
v6.0-08. Indices changes  (0) 2017.12.20
v6.0-07. Geo changes  (0) 2017.12.20
v6.0-06. Document API changes  (0) 2017.12.20