Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs] Clarify accessing Date methods in painless #33560

Merged
merged 2 commits into from
Sep 19, 2018

Commits on Sep 10, 2018

  1. [Docs] Clarify accessing Date methods in painless

    I just tried to access the millis of a date field in painless and tried to use "getMillis" on the document value like `doc['event_date'].value.getMillis` because that is how I read the documentation. It turns out the way it works is `doc['event_date'].value.millis`. I might be missing something, but if not I think the docs are a bit misleading and could be corrected like suggested.
    Christoph Büscher authored Sep 10, 2018
    Configuration menu
    Copy the full SHA
    9206b8c View commit details
    Browse the repository at this point in the history
  2. Update painless-getting-started.asciidoc

    Christoph Büscher authored Sep 10, 2018
    Configuration menu
    Copy the full SHA
    361dc72 View commit details
    Browse the repository at this point in the history