Package | Description |
---|---|
org.elasticsearch.action.search |
Search action.
|
org.elasticsearch.action.update | |
org.elasticsearch.index.mapper | |
org.elasticsearch.index.query | |
org.elasticsearch.script |
Modifier and Type | Method and Description |
---|---|
ScriptService.ScriptType |
SearchRequest.templateType()
Deprecated.
use
SearchRequest.template() instead. |
Modifier and Type | Method and Description |
---|---|
SearchRequestBuilder |
SearchRequestBuilder.setTemplateType(ScriptService.ScriptType templateType)
Deprecated.
Use
SearchRequestBuilder.setTemplate(Template) instead. |
void |
SearchRequest.templateType(ScriptService.ScriptType templateType)
Deprecated.
use
SearchRequest.template(Template) instead. |
Modifier and Type | Method and Description |
---|---|
ScriptService.ScriptType |
UpdateRequest.scriptType()
Deprecated.
Use
UpdateRequest.script() instead |
Modifier and Type | Method and Description |
---|---|
UpdateRequest |
UpdateRequest.script(String script,
ScriptService.ScriptType scriptType)
Deprecated.
Use
UpdateRequest.script(Script) instead |
UpdateRequest |
UpdateRequest.script(String script,
ScriptService.ScriptType scriptType,
Map<String,Object> scriptParams)
Deprecated.
Use
UpdateRequest.script(Script) instead |
UpdateRequest |
UpdateRequest.script(String script,
String scriptLang,
ScriptService.ScriptType scriptType,
Map<String,Object> scriptParams)
Deprecated.
Use
UpdateRequest.script(Script) instead |
Modifier and Type | Method and Description |
---|---|
DocumentMapper.Builder |
DocumentMapper.Builder.transform(ScriptService scriptService,
String script,
ScriptService.ScriptType scriptType,
String language,
Map<String,Object> parameters)
Deprecated.
|
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 Template |
TemplateQueryParser.parse(XContentParser parser,
Map<String,ScriptService.ScriptType> parameterMap,
ParseFieldMatcher parseFieldMatcher) |
Constructor and Description |
---|
TemplateQueryBuilder(String template,
ScriptService.ScriptType templateType,
Map<String,Object> vars)
Deprecated.
Use
TemplateQueryBuilder.TemplateQueryBuilder(Template) instead. |
Modifier and Type | Field and Description |
---|---|
static ScriptService.ScriptType |
Script.DEFAULT_TYPE |
Modifier and Type | Method and Description |
---|---|
ScriptService.ScriptType |
Script.getType()
Method for getting the type.
|
static ScriptService.ScriptType |
ScriptService.ScriptType.readFrom(StreamInput in) |
ScriptService.ScriptType |
ScriptParameterParser.ScriptParameterValue.scriptType() |
ScriptService.ScriptType |
CompiledScript.type()
Method to get the type of language.
|
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 |
---|---|
protected Map<String,ScriptService.ScriptType> |
AbstractScriptParser.getAdditionalScriptParameters()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected abstract S |
AbstractScriptParser.createScript(String script,
ScriptService.ScriptType type,
String lang,
Map<String,Object> params) |
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.
|
protected XContentBuilder |
Script.scriptFieldToXContent(String script,
ScriptService.ScriptType type,
XContentBuilder builder,
ToXContent.Params builderParams) |
protected XContentBuilder |
Template.scriptFieldToXContent(String template,
ScriptService.ScriptType type,
XContentBuilder builder,
ToXContent.Params builderParams) |
static void |
ScriptService.ScriptType.writeTo(ScriptService.ScriptType scriptType,
StreamOutput out) |
Modifier and Type | Method and Description |
---|---|
static Template |
Template.parse(XContentParser parser,
Map<String,ScriptService.ScriptType> additionalTemplateFieldNames,
ParseFieldMatcher parseFieldMatcher)
Deprecated.
|
static Template |
Template.parse(XContentParser parser,
Map<String,ScriptService.ScriptType> additionalTemplateFieldNames,
String defaultLang,
ParseFieldMatcher parseFieldMatcher)
Deprecated.
|
Constructor and Description |
---|
CompiledScript(ScriptService.ScriptType type,
String name,
String lang,
Object compiled)
Constructor for CompiledScript.
|
Script(String script,
ScriptService.ScriptType type,
String lang,
Map<String,? extends Object> params)
Constructor for Script.
|
ScriptParameterParser.ScriptParameterValue(String script,
ScriptService.ScriptType scriptType) |
Template(String template,
ScriptService.ScriptType type,
String lang,
XContentType xContentType,
Map<String,Object> params)
Constructor for Template.
|
Copyright © 2009–2016. All rights reserved.