Package | Description |
---|---|
org.elasticsearch.script |
Modifier and Type | Class and Description |
---|---|
static class |
ScriptContext.Plugin
Custom operation exposed via plugin, which makes use of scripts as part of its execution
|
static class |
ScriptContext.Standard
Standard operations that make use of scripts as part of their execution.
|
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.
|
ExecutableScript |
ScriptService.executable(Script script,
ScriptContext scriptContext,
HasContextAndHeaders headersContext,
Map<String,String> params)
Compiles (or retrieves from cache) and executes the provided script
|
org.elasticsearch.script.ScriptMode |
ScriptModes.getScriptMode(String lang,
ScriptService.ScriptType scriptType,
ScriptContext scriptContext)
Returns the script mode for a script of a certain written in a certain language,
of a certain type and executing as part of a specific operation/api.
|
SearchScript |
ScriptService.search(SearchLookup lookup,
Script script,
ScriptContext scriptContext,
Map<String,String> params)
Compiles (or retrieves from cache) and executes the provided search script
|
Copyright © 2009–2016. All rights reserved.