Package | Description |
---|---|
org.elasticsearch.action.indexedscripts.put |
Index action.
|
org.elasticsearch.client |
The client module allowing to easily perform actions/operations.
|
org.elasticsearch.client.support | |
org.elasticsearch.script |
Modifier and Type | Method and Description |
---|---|
PutIndexedScriptRequest |
PutIndexedScriptRequest.contentType(XContentType contentType)
Sets the content type that will be used when generating a document from user provided objects (like Map).
|
PutIndexedScriptRequest |
PutIndexedScriptRequest.create(boolean create)
Set to true to force this index to use
IndexRequest.OpType.CREATE . |
PutIndexedScriptRequest |
PutIndexedScriptRequest.id(String id)
Sets the id of the indexed document.
|
PutIndexedScriptRequest |
PutIndexedScriptRequest.opType(IndexRequest.OpType opType)
Sets the type of operation to perform.
|
PutIndexedScriptRequest |
PutIndexedScriptRequest.scriptLang(String scriptLang)
Sets the type of the indexed document.
|
PutIndexedScriptRequest |
PutIndexedScriptRequest.source(byte[] source)
Sets the document to index in bytes form.
|
PutIndexedScriptRequest |
PutIndexedScriptRequest.source(byte[] source,
int offset,
int length)
Sets the document to index in bytes form (assumed to be safe to be used from different
threads).
|
PutIndexedScriptRequest |
PutIndexedScriptRequest.source(BytesReference source)
Sets the document to index in bytes form.
|
PutIndexedScriptRequest |
PutIndexedScriptRequest.source(Map source)
Index the Map as a
Requests.INDEX_CONTENT_TYPE . |
PutIndexedScriptRequest |
PutIndexedScriptRequest.source(Map source,
XContentType contentType)
Index the Map as the provided content type.
|
PutIndexedScriptRequest |
PutIndexedScriptRequest.source(Object... source) |
PutIndexedScriptRequest |
PutIndexedScriptRequest.source(String source)
Sets the document source to index.
|
PutIndexedScriptRequest |
PutIndexedScriptRequest.source(XContentBuilder sourceBuilder)
Sets the content source to index.
|
PutIndexedScriptRequest |
PutIndexedScriptRequest.version(long version)
Sets the version, which will cause the index operation to only be performed if a matching
version exists and no changes happened on the doc since then.
|
PutIndexedScriptRequest |
PutIndexedScriptRequest.versionType(VersionType versionType)
Sets the versioning type.
|
Modifier and Type | Method and Description |
---|---|
protected void |
TransportPutIndexedScriptAction.doExecute(PutIndexedScriptRequest request,
ActionListener<PutIndexedScriptResponse> listener) |
Modifier and Type | Method and Description |
---|---|
ActionFuture<PutIndexedScriptResponse> |
Client.putIndexedScript(PutIndexedScriptRequest request)
Put an indexed script
|
void |
Client.putIndexedScript(PutIndexedScriptRequest request,
ActionListener<PutIndexedScriptResponse> listener)
Put an indexed script
|
Modifier and Type | Method and Description |
---|---|
ActionFuture<PutIndexedScriptResponse> |
AbstractClient.putIndexedScript(PutIndexedScriptRequest request)
Put an indexed script
|
void |
AbstractClient.putIndexedScript(PutIndexedScriptRequest request,
ActionListener<PutIndexedScriptResponse> listener)
Put an indexed script
|
Modifier and Type | Method and Description |
---|---|
void |
ScriptService.putScriptToIndex(PutIndexedScriptRequest request,
ActionListener<IndexResponse> listener) |
Copyright © 2009–2016. All rights reserved.