Modifier and Type | Method and Description |
---|---|
ScriptService.ScriptType |
SearchRequest.templateType()
The name of the stored template
|
Modifier and Type | Method and Description |
---|---|
SearchRequestBuilder |
SearchRequestBuilder.setTemplateType(ScriptService.ScriptType templateType) |
void |
SearchRequest.templateType(ScriptService.ScriptType templateType) |
Modifier and Type | Method and Description |
---|---|
ScriptService.ScriptType |
UpdateRequest.scriptType() |
Modifier and Type | Method and Description |
---|---|
UpdateRequest |
UpdateRequest.script(String script,
ScriptService.ScriptType scriptType)
The script to execute.
|
UpdateRequest |
UpdateRequest.script(String script,
ScriptService.ScriptType scriptType,
Map<String,Object> scriptParams)
The script to execute.
|
UpdateRequest |
UpdateRequest.script(String script,
String scriptLang,
ScriptService.ScriptType scriptType,
Map<String,Object> scriptParams)
The script to execute.
|
UpdateRequestBuilder |
UpdateRequestBuilder.setScript(String script,
ScriptService.ScriptType scriptType)
The script to execute.
|
Modifier and Type | Method and Description |
---|---|
DocumentMapper.Builder |
DocumentMapper.Builder.transform(ScriptService scriptService,
String script,
ScriptService.ScriptType scriptType,
String language,
Map<String,Object> parameters) |
Modifier and Type | Method and Description |
---|---|
ScriptService.ScriptType |
TemplateQueryParser.TemplateContext.scriptType() |
Modifier and Type | Method and Description |
---|---|
static TemplateQueryBuilder |
QueryBuilders.templateQuery(String template,
ScriptService.ScriptType templateType,
Map<String,Object> vars)
Facilitates creating template query requests
|
Modifier and Type | Method and Description |
---|---|
static TemplateQueryParser.TemplateContext |
TemplateQueryParser.parse(XContentParser parser,
String paramsFieldname,
Map<String,ScriptService.ScriptType> parameterMap) |
Constructor and Description |
---|
ScriptFilter(String scriptLang,
String script,
ScriptService.ScriptType scriptType,
Map<String,Object> params,
ScriptService scriptService,
SearchLookup searchLookup) |
TemplateContext(ScriptService.ScriptType type,
String template,
Map<String,Object> params) |
TemplateQueryBuilder(String template,
ScriptService.ScriptType templateType,
Map<String,Object> vars) |
Modifier and Type | Method and Description |
---|---|
static ScriptService.ScriptType |
ScriptService.ScriptType.readFrom(StreamInput in) |
ScriptService.ScriptType |
ScriptParameterParser.ScriptParameterValue.scriptType() |
static ScriptService.ScriptType |
ScriptService.ScriptType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScriptService.ScriptType[] |
ScriptService.ScriptType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
CompiledScript |
ScriptService.compile(String lang,
String scriptOrId,
ScriptService.ScriptType scriptType)
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(String lang,
String script,
ScriptService.ScriptType scriptType,
Map<String,Object> vars)
Compiles (or retrieves from cache) and executes the provided script
|
SearchScript |
ScriptService.search(SearchLookup lookup,
String lang,
String script,
ScriptService.ScriptType scriptType,
Map<String,Object> vars)
Compiles (or retrieves from cache) and executes the provided search script
|
static void |
ScriptService.ScriptType.writeTo(ScriptService.ScriptType scriptType,
StreamOutput out) |
Constructor and Description |
---|
ScriptParameterValue(String script,
ScriptService.ScriptType scriptType) |
Constructor and Description |
---|
ScriptHeuristic(ExecutableScript searchScript,
String scriptLang,
String scriptString,
ScriptService.ScriptType scriptType,
Map<String,Object> params) |
Constructor and Description |
---|
ScriptGeoDistanceFacetExecutor(IndexGeoPointFieldData indexFieldData,
double lat,
double lon,
DistanceUnit unit,
GeoDistance geoDistance,
GeoDistanceFacet.Entry[] entries,
SearchContext context,
String scriptLang,
String script,
ScriptService.ScriptType scriptType,
Map<String,Object> params) |
Constructor and Description |
---|
ScriptHistogramFacetExecutor(String scriptLang,
String keyScript,
ScriptService.ScriptType keyScriptType,
String valueScript,
ScriptService.ScriptType valueScriptType,
Map<String,Object> params,
long interval,
HistogramFacet.ComparatorType comparatorType,
SearchContext context) |
ValueScriptHistogramFacetExecutor(IndexNumericFieldData indexFieldData,
String scriptLang,
String valueScript,
ScriptService.ScriptType scriptType,
Map<String,Object> params,
long interval,
HistogramFacet.ComparatorType comparatorType,
SearchContext context) |
Constructor and Description |
---|
ScriptRangeFacetExecutor(String scriptLang,
String keyScript,
ScriptService.ScriptType keyScriptType,
String valueScript,
ScriptService.ScriptType valueScriptType,
Map<String,Object> params,
RangeFacet.Entry[] entries,
SearchContext context) |
Constructor and Description |
---|
ScriptStatisticalFacetExecutor(String scriptLang,
String script,
ScriptService.ScriptType scriptType,
Map<String,Object> params,
SearchContext context) |
Constructor and Description |
---|
ScriptTermsStringFieldFacetExecutor(int size,
int shardSize,
TermsFacet.ComparatorType comparatorType,
SearchContext context,
com.google.common.collect.ImmutableSet<org.apache.lucene.util.BytesRef> excluded,
Pattern pattern,
String scriptLang,
String script,
ScriptService.ScriptType scriptType,
Map<String,Object> params,
CacheRecycler cacheRecycler) |
Modifier and Type | Method and Description |
---|---|
ScriptService.ScriptType |
ShardSearchTransportRequest.templateType() |
ScriptService.ScriptType |
ShardSearchRequest.templateType() |
ScriptService.ScriptType |
ShardSearchLocalRequest.templateType() |
Copyright © 2009–2015. All rights reserved.