2016-11-22 22:24:12 -05:00
|
|
|
[[breaking_60_scripting_changes]]
|
|
|
|
=== Scripting changes
|
|
|
|
|
2017-05-05 05:52:57 -04:00
|
|
|
==== Groovy, JavaScript, and Python languages removed
|
2016-11-22 22:24:12 -05:00
|
|
|
|
2017-05-05 05:52:57 -04:00
|
|
|
The Groovy, JavaScript, and Python scripting languages were deprecated in
|
|
|
|
elasticsearch 5.0 and have now been removed. Use painless instead.
|
2017-02-06 16:44:56 -05:00
|
|
|
|
|
|
|
==== Date fields now return dates
|
|
|
|
|
2017-03-16 22:37:38 -04:00
|
|
|
`doc.some_date_field.value` now returns ++ReadableDateTime++s instead of
|
2017-02-06 16:44:56 -05:00
|
|
|
milliseconds since epoch as a `long`. The same is true for
|
|
|
|
`doc.some_date_field[some_number]`. Use `doc.some_date_field.value.millis` to
|
|
|
|
fetch the milliseconds since epoch if you need it.
|