Modifier and Type | Interface and Description |
---|---|
interface |
ExplainableSearchScript
To be implemented by
SearchScript which can provided an Explanation of the score
This is currently not used inside elasticsearch but it is used, see for example here:
https://github.com/elasticsearch/elasticsearch/issues/8561 |
interface |
SearchScript
A search script.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDoubleSearchScript
A simpler base class instead of
AbstractSearchScript for computations
that return a double number. |
class |
AbstractExecutableScript |
class |
AbstractFloatSearchScript
A simpler base class instead of
AbstractSearchScript for computations
that return a float number. |
class |
AbstractLongSearchScript
A simpler base class instead of
AbstractSearchScript for computations
that return a long number. |
class |
AbstractSearchScript
A base class for any script type that is used during the search process (custom score, facets, and so on).
|
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 |
ScriptEngineService.executable(Object compiledScript,
Map<String,Object> vars) |
ExecutableScript |
NativeScriptEngineService.executable(Object compiledScript,
Map<String,Object> vars) |
ExecutableScript |
ScriptService.executable(String lang,
String script,
ScriptService.ScriptType scriptType,
Map<String,Object> vars)
Compiles (or retrieves from cache) and executes the provided script
|
ExecutableScript |
NativeScriptFactory.newScript(Map<String,Object> params)
Creates a new instance of either a
ExecutableScript or a SearchScript . |
Modifier and Type | Method and Description |
---|---|
ExecutableScript |
ExpressionScriptEngineService.executable(Object compiledScript,
Map<String,Object> vars) |
Modifier and Type | Class and Description |
---|---|
static class |
GroovyScriptEngineService.GroovyScript |
Modifier and Type | Method and Description |
---|---|
ExecutableScript |
GroovyScriptEngineService.executable(Object compiledScript,
Map<String,Object> vars) |
Modifier and Type | Method and Description |
---|---|
ExecutableScript |
MustacheScriptEngineService.executable(Object mustache,
Map<String,Object> vars) |
Constructor and Description |
---|
ScriptHeuristic(ExecutableScript searchScript,
String scriptLang,
String scriptString,
ScriptService.ScriptType scriptType,
Map<String,Object> params) |
Copyright © 2009–2015. All rights reserved.