OpenSearch/modules
Nik Everett bc45d10e82 Remove most usages of 1-arg Script ctor (#24325)
The one argument ctor for `Script` creates a script with the
default language but most usages of are for testing and either
don't care about the language or are for use with
`MockScriptEngine`. This replaces most usages of the one argument
ctor on `Script` with calls to `ESTestCase#mockScript` to make
it clear that the tests don't need the default scripting language.

I've also factored out some copy and pasted script generation
code into a single place. I would have had to change that code
to use `mockScript` anyway, so it was easier to perform the
refactor.

Relates to #16314
2017-04-26 16:04:38 -04:00
..
aggs-matrix-stats Tests: Clean up rest test file handling (#21392) 2017-04-18 15:07:08 -07:00
analysis-common Move char filters into analysis-common (#24261) 2017-04-26 13:25:34 -04:00
ingest-common Remove most usages of 1-arg Script ctor (#24325) 2017-04-26 16:04:38 -04:00
lang-expression Tests: Clean up rest test file handling (#21392) 2017-04-18 15:07:08 -07:00
lang-mustache Templates: Add compileTemplate method to ScriptService for template consumers (#24280) 2017-04-24 15:45:20 -07:00
lang-painless Allow painless to load stored fields (#24290) 2017-04-24 14:22:39 -04:00
percolator [percolator] Fix memory leak when percolator uses bitset or field data cache. 2017-04-26 11:08:15 +02:00
reindex Remove most usages of 1-arg Script ctor (#24325) 2017-04-26 16:04:38 -04:00
repository-url Tests: Clean up rest test file handling (#21392) 2017-04-18 15:07:08 -07:00
transport-netty4 Fix incorrect logger invocation 2017-04-25 16:25:52 -04:00
build.gradle Build: Change `gradle run` to use zip distribution (#21001) 2016-10-18 11:48:58 -07:00