OpenSearch/modules/lang-painless
Nik Everett ae468441dc Implement the ?: operator in painless (#21506)
Implements a null coalescing operator in painless that looks like `?:`. This form was chosen to emulate Groovy's `?:` operator. It is different in that it only coalesces null values, instead of Groovy's `?:` operator which coalesces all falsy values. I believe that makes it the same as Kotlin's `?:` operator. In other languages this operator looks like `??` (C#) and `COALESCE` (SQL) and `:-` (bash).

This operator is lazy, meaning the right hand side is only evaluated at all if the left hand side is null.
2016-11-18 13:54:26 -05:00
..
licenses merge master 2016-06-11 13:23:17 -04:00
src Implement the ?: operator in painless (#21506) 2016-11-18 13:54:26 -05:00
ant.xml Remove Painless grammar ambiguities. 2016-05-23 16:39:52 -07:00
build.gradle Circuit break the number of inline scripts compiled per minute 2016-08-09 10:26:27 -06:00