| Modifier and Type | Method and Description |
|---|---|
SearchRequestBuilder |
SearchRequestBuilder.addScriptField(String name,
Script script)
Adds a script based field to load and return.
|
| Modifier and Type | Method and Description |
|---|---|
Script |
UpdateRequest.script() |
| Modifier and Type | Method and Description |
|---|---|
UpdateRequest |
UpdateRequest.script(Script script)
The script to execute.
|
UpdateRequestBuilder |
UpdateRequestBuilder.setScript(Script script)
The script to execute.
|
| Constructor and Description |
|---|
ScriptScoreFunction(Script sScript,
SearchScript script) |
| Modifier and Type | Method and Description |
|---|---|
DocumentMapper.Builder |
DocumentMapper.Builder.transform(ScriptService scriptService,
Script script) |
| Modifier and Type | Method and Description |
|---|---|
static ScriptQueryBuilder |
QueryBuilders.scriptQuery(Script script)
A builder for filter based on a script.
|
| Constructor and Description |
|---|
ScriptQueryBuilder(Script script) |
| Modifier and Type | Method and Description |
|---|---|
static ScriptScoreFunctionBuilder |
ScoreFunctionBuilders.scriptFunction(Script script) |
| Constructor and Description |
|---|
ScriptScoreFunctionBuilder(Script script) |
| Modifier and Type | Method and Description |
|---|---|
T |
BaseInnerHitBuilder.addScriptField(String name,
Script script)
Adds a script based field to load and return.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractScriptParser<S extends Script> |
| Modifier and Type | Class and Description |
|---|---|
class |
Template |
| Modifier and Type | Method and Description |
|---|---|
static Script |
Template.parse(Map<String,Object> config,
boolean removeMatchedEntries,
ParseFieldMatcher parseFieldMatcher) |
static Script |
Script.parse(Map<String,Object> config,
boolean removeMatchedEntries,
ParseFieldMatcher parseFieldMatcher) |
static Script |
Script.parse(XContentParser parser,
ParseFieldMatcher parseFieldMatcher) |
static Script |
Script.readScript(StreamInput in) |
| 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.
|
ExecutableScript |
ScriptService.executable(Script script,
ScriptContext scriptContext,
HasContextAndHeaders headersContext,
Map<String,String> params)
Compiles (or retrieves from cache) and executes the provided script
|
SearchScript |
ScriptService.search(SearchLookup lookup,
Script script,
ScriptContext scriptContext,
Map<String,String> params)
Compiles (or retrieves from cache) and executes the provided search script
|
| Modifier and Type | Method and Description |
|---|---|
B |
ValuesSourceAggregationBuilder.script(Script script)
Sets the script which generates the values.
|
| Modifier and Type | Method and Description |
|---|---|
ScriptHeuristic.ScriptHeuristicBuilder |
ScriptHeuristic.ScriptHeuristicBuilder.setScript(Script script) |
| Constructor and Description |
|---|
ScriptHeuristic(ExecutableScript searchScript,
Script script) |
| Modifier and Type | Method and Description |
|---|---|
B |
ValuesSourceMetricsAggregationBuilder.script(Script script)
The script to use for this aggregation
|
| Modifier and Type | Method and Description |
|---|---|
ScriptedMetricBuilder |
ScriptedMetricBuilder.combineScript(Script combineScript)
Set the combine script.
|
ScriptedMetricBuilder |
ScriptedMetricBuilder.initScript(Script initScript)
Set the init script.
|
ScriptedMetricBuilder |
ScriptedMetricBuilder.mapScript(Script mapScript)
Set the map script.
|
ScriptedMetricBuilder |
ScriptedMetricBuilder.reduceScript(Script reduceScript)
Set the reduce script.
|
| Constructor and Description |
|---|
InternalScriptedMetric(String name,
Object aggregation,
Script reduceScript,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
ScriptedMetricAggregator.Factory(String name,
Script initScript,
Script mapScript,
Script combineScript,
Script reduceScript,
Map<String,Object> params) |
ScriptedMetricAggregator(String name,
Script initScript,
Script mapScript,
Script combineScript,
Script reduceScript,
Map<String,Object> params,
AggregationContext context,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
| Modifier and Type | Method and Description |
|---|---|
TopHitsBuilder |
TopHitsBuilder.addScriptField(String name,
Script script)
Adds a script based field to load and return.
|
| Modifier and Type | Method and Description |
|---|---|
BucketScriptBuilder |
BucketScriptBuilder.script(Script script) |
| Constructor and Description |
|---|
BucketScriptPipelineAggregator.Factory(String name,
Map<String,String> bucketsPathsMap,
Script script,
ValueFormatter formatter,
BucketHelpers.GapPolicy gapPolicy) |
BucketScriptPipelineAggregator(String name,
Map<String,String> bucketsPathsMap,
Script script,
ValueFormatter formatter,
BucketHelpers.GapPolicy gapPolicy,
Map<String,Object> metadata) |
| Modifier and Type | Method and Description |
|---|---|
BucketSelectorBuilder |
BucketSelectorBuilder.script(Script script) |
| Constructor and Description |
|---|
BucketSelectorPipelineAggregator.Factory(String name,
Map<String,String> bucketsPathsMap,
Script script,
BucketHelpers.GapPolicy gapPolicy) |
BucketSelectorPipelineAggregator(String name,
Map<String,String> bucketsPathsMap,
Script script,
BucketHelpers.GapPolicy gapPolicy,
Map<String,Object> metadata) |
| Modifier and Type | Method and Description |
|---|---|
SearchSourceBuilder |
SearchSourceBuilder.scriptField(String name,
Script script)
Adds a script field under the given name with the provided script.
|
| Modifier and Type | Method and Description |
|---|---|
static ScriptSortBuilder |
SortBuilders.scriptSort(Script script,
String type)
Constructs a new script based sort.
|
| Constructor and Description |
|---|
ScriptSortBuilder(Script script,
String type)
Constructs a script sort builder with the given script.
|
Copyright © 2009–2017. All rights reserved.