scripting.asciidoc 492 B

1234567891011121314
  1. [[breaking_60_scripting_changes]]
  2. === Scripting changes
  3. ==== Groovy language removed
  4. The groovy scripting language was deprecated in elasticsearch 5.0 and is now removed.
  5. Use painless instead.
  6. ==== Date fields now return dates
  7. `doc.some_date_field.value` now returns ++ReadableDateTime++s instead of
  8. milliseconds since epoch as a `long`. The same is true for
  9. `doc.some_date_field[some_number]`. Use `doc.some_date_field.value.millis` to
  10. fetch the milliseconds since epoch if you need it.