Package | Description |
---|---|
org.elasticsearch.script | |
org.elasticsearch.script.mustache |
Modifier and Type | Method and Description |
---|---|
CompiledScript |
ScriptService.compile(Script script,
ScriptContext scriptContext,
HasContextAndHeaders headersContext,
Map<String,String> params)
Checks if a script can be executed and compiles it if needed, or returns the previously compiled and cached script.
|
CompiledScript |
ScriptService.compileInternal(Script script,
HasContextAndHeaders context,
Map<String,String> params)
Compiles a script straight-away, or returns the previously compiled and cached script,
without checking if it can be executed based on settings.
|
Modifier and Type | Method and Description |
---|---|
ExecutableScript |
ScriptService.executable(CompiledScript compiledScript,
Map<String,Object> vars)
Executes a previously compiled script provided as an argument
|
ExecutableScript |
NativeScriptEngineService.executable(CompiledScript compiledScript,
Map<String,Object> vars) |
ExecutableScript |
ScriptEngineService.executable(CompiledScript compiledScript,
Map<String,Object> vars) |
SearchScript |
NativeScriptEngineService.search(CompiledScript compiledScript,
SearchLookup lookup,
Map<String,Object> vars) |
SearchScript |
ScriptEngineService.search(CompiledScript compiledScript,
SearchLookup lookup,
Map<String,Object> vars) |
Modifier and Type | Method and Description |
---|---|
ExecutableScript |
MustacheScriptEngineService.executable(CompiledScript compiledScript,
Map<String,Object> vars) |
SearchScript |
MustacheScriptEngineService.search(CompiledScript compiledScript,
SearchLookup lookup,
Map<String,Object> vars) |
Copyright © 2009–2016. All rights reserved.