OpenSearch/modules/lang-painless
Mayya Sharipova 5481fbc249
Handle missing values in painless (#30975)
* Handle missing values in painless

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 #29286
2018-07-09 11:59:49 -04:00
..
licenses Upgrade Painless from ANTLR 4.5.1-1 to ANTLR 4.5.3. (#27153) 2017-10-27 11:07:49 -07:00
spi Painless: Restructure Definition/Whitelist (#31879) 2018-07-08 12:00:23 -07:00
src Handle missing values in painless (#30975) 2018-07-09 11:59:49 -04:00
build.gradle Handle missing values in painless (#30975) 2018-07-09 11:59:49 -04:00