OpenSearch/docs/reference/modules
Robert Muir e3ce6c9048 Painless: add fielddata accessors (.value/.values/.distance()/etc)
This gives better coverage and consistency with the scripting APIs, by
whitelisting the primary search scripting API classes and using them instead
of only Map and List methods.

For example, accessing fields can now be done with `.value` instead of `.0`
because `getValue()` is whitelisted. For now, access to a document's fields in
this way (loads) are fast-pathed in the code, to avoid dynamic overhead.

Access to geo fields and geo distance functions is now supported.

TODO: date support (e.g. whitelist ReadableDateTime methods as a start)
TODO: improve docs (like expressions and groovy have for document's fields)
TODO: remove fast-path hack

Closes #18169

Squashed commit of the following:

commit ec9f24b2424891a7429bb4c0a03f9868cba0a213
Author: Robert Muir <rmuir@apache.org>
Date:   Thu May 5 17:59:37 2016 -0400

    cutover to <Def> instead of <Object> here

commit 9edb1550438acd209733bc36f0d2e0aecf190ecb
Author: Robert Muir <rmuir@apache.org>
Date:   Thu May 5 17:03:02 2016 -0400

    add fast-path for docvalues field loads

commit f8e38c0932fccc0cfa217516130ad61522e59fe5
Author: Robert Muir <rmuir@apache.org>
Date:   Thu May 5 16:47:31 2016 -0400

    Painless: add fielddata accessors (.value/.values/.distance()/etc)
2016-05-05 18:38:41 -04:00
..
cluster Generate and run tests from the docs 2016-05-05 13:58:03 -04:00
discovery Merge branch 'master' into enhancement/remove_node_client_setting 2016-03-24 18:10:11 +01:00
indices Limit request size on transport level 2016-04-13 09:54:59 +02:00
scripting Painless: add fielddata accessors (.value/.values/.distance()/etc) 2016-05-05 18:38:41 -04:00
cluster.asciidoc Fix typos in docs. 2016-02-09 02:07:32 -08:00
discovery.asciidoc [DOCS] add azure and gce discovery plugins 2014-02-06 09:18:42 +01:00
gateway.asciidoc Docs: Refactored modules and index modules sections 2015-06-22 23:49:45 +02:00
http.asciidoc Enable HTTP compression by default with compression level 3 2016-05-03 08:53:15 +02:00
indices.asciidoc Rename caches. 2015-06-29 10:15:27 +02:00
memcached.asciidoc Fix organization rename in all files in project 2016-03-03 12:04:13 -07:00
network.asciidoc Fix: Change docs on "node client" to not use an in-memory node 2016-02-29 17:29:24 +01:00
node.asciidoc Generate and run tests from the docs 2016-05-05 13:58:03 -04:00
plugins.asciidoc Docs: Prepare plugin and integration docs for 2.0 2015-08-15 18:02:43 +02:00
scripting.asciidoc Reorganise scripting docs (#18132) 2016-05-04 18:17:10 +02:00
snapshots.asciidoc Fix a quick documentation typo. 2016-03-03 16:36:21 -07:00
threadpool.asciidoc Actually bound the generic thread pool 2016-04-25 06:47:26 -04:00
thrift.asciidoc Fix organization rename in all files in project 2016-03-03 12:04:13 -07:00
transport.asciidoc Document transport.ping_schedule 2015-09-01 13:43:17 +02:00
tribe.asciidoc Documented how tribe node clients inherit their settings 2016-03-30 20:05:44 +02:00