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

Handle missing values in painless (#30975) #31903

Merged

Commits on Jul 10, 2018

  1. Handle missing values in painless (elastic#30975)

    Throw an exception for `doc['field'].value`
    if this document is missing a value for the `field`.
    
    For 7.0:
    This is the default behaviour from 7.0
    
    For 6.x:
    To enable this behavior from 6.x, a user can set a jvm.option:
     `-Des.script.exception_for_missing_value=true` on a node.
    If a user does not enable this behavior, a deprecation warning is logged on start up.
    
    Closes elastic#29286
    mayya-sharipova committed Jul 10, 2018
    Configuration menu
    Copy the full SHA
    b4c84d9 View commit details
    Browse the repository at this point in the history