OpenSearch/modules
Ryan Ernst 3d3dd7185d Add support for booleans in scripts (#20950)
* Scripting: Add support for booleans in scripts

Since 2.0, booleans have been represented as numeric fields (longs).
However, in scripts, this is odd, since you expect doing a comparison
against a boolean to work. While languages like groovy will auto convert
between booleans and longs, painless does not.

This changes the doc values accessor for boolean fields in scripts to
return Boolean objects instead of Long objects.

closes #20949

* Make Booleans final and remove wrapping of `this` for getValues()
2016-10-17 11:11:42 -07:00
..
aggs-matrix-stats Remove empty javadoc (#20871) 2016-10-12 10:27:09 +02:00
ingest-common docs: marked `foreach` processor as experimental 2016-09-30 12:23:42 +02:00
lang-expression Upgrade to Lucene 6.2.0 2016-08-24 17:26:28 -04:00
lang-groovy Fix wrong logger usages 2016-09-21 14:45:28 +02:00
lang-mustache Mustache: Add {{#url}}{{/url}} function to URL encode strings (#20838) 2016-10-13 16:17:28 +02:00
lang-painless Add support for booleans in scripts (#20950) 2016-10-17 11:11:42 -07:00
percolator Replace org.elasticsearch.common.lucene.search.MatchNoDocsQuery with its Lucene version (org.apache.lucene.search.MatchNoDocsQuery) (#20832) 2016-10-10 17:45:19 +02:00
reindex Merge branch 'master' into cleanup/transport_bulk 2016-10-11 16:04:47 -04:00
transport-netty3 Remove artificial default processors limit 2016-10-14 05:47:26 -04:00
transport-netty4 Fix connection keep-alive header handling 2016-10-16 19:51:00 -04:00
build.gradle Build: Remove old maven deploy support (#20403) 2016-09-19 15:10:41 -07:00