mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-25 17:38:44 +00:00
Update scripting.asciidoc
Fixed bad asciidoc
This commit is contained in:
parent
b9ac69cbd8
commit
e37cdab87f
@ -8,7 +8,7 @@ Use painless instead.
|
|||||||
|
|
||||||
==== Date fields now return dates
|
==== Date fields now return dates
|
||||||
|
|
||||||
`doc.some_date_field.value` now returns `ReadableDateTime`s instead of
|
`doc.some_date_field.value` now returns ++ReadableDateTime++s instead of
|
||||||
milliseconds since epoch as a `long`. The same is true for
|
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
|
`doc.some_date_field[some_number]`. Use `doc.some_date_field.value.millis` to
|
||||||
fetch the milliseconds since epoch if you need it.
|
fetch the milliseconds since epoch if you need it.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user