| パッケージ | 説明 |
|---|---|
| org.elasticsearch.script |
| 修飾子とタイプ | クラスと説明 |
|---|---|
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.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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.