OpenSearch/modules/ingest-common
Ryan Ernst 1daacd97b0 Scripting: Add instance and compiled classes to script contexts (#24868)
This commit modifies the compile method of ScriptService to be context
aware. The ScriptContext is now a generic class which contains both the
instance type and compiled type for a script. Instance type may be
stateful (for example, pre loading field information for the index a
script will execute on, like in expressions), while the compiled type is
stateless and used to construct instance type instances. This change is
only a first step to cutover ScriptService to the new paradigm. It only
converts callers to the script service, and has a small shim to wrap
compilation from the script engines to support the current two fixed
instance types, SearchScript and ExecutableScript.
2017-05-24 14:29:02 -07:00
..
licenses ingest: Move processors from core to ingest-common module. 2016-06-07 17:32:52 +02:00
src Scripting: Add instance and compiled classes to script contexts (#24868) 2017-05-24 14:29:02 -07:00
build.gradle ingest: merged o.e.ingest.core with o.e.ingest and in ingest-common module added o.e.ingest.common package 2016-06-21 09:24:00 +02:00