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 |
Modifier and Type | Method and Description |
---|---|
PutIndexedScriptRequestBuilder |
PutIndexedScriptAction.newRequestBuilder(Client client) |
PutIndexedScriptRequestBuilder |
PutIndexedScriptRequestBuilder.setContentType(XContentType contentType)
The content type that will be used to generate a document from user provided objects (like Map).
|
PutIndexedScriptRequestBuilder |
PutIndexedScriptRequestBuilder.setCreate(boolean create)
Set to true to force this index to use
IndexRequest.OpType.CREATE . |
PutIndexedScriptRequestBuilder |
PutIndexedScriptRequestBuilder.setId(String id)
Sets the id to index the document under.
|
PutIndexedScriptRequestBuilder |
PutIndexedScriptRequestBuilder.setOpType(IndexRequest.OpType opType)
Sets the type of operation to perform.
|
PutIndexedScriptRequestBuilder |
PutIndexedScriptRequestBuilder.setOpType(String opType)
Sets a string representation of the
setOpType(org.elasticsearch.action.index.IndexRequest.OpType) . |
PutIndexedScriptRequestBuilder |
PutIndexedScriptRequestBuilder.setScriptLang(String scriptLang)
Sets the type to index the document to.
|
PutIndexedScriptRequestBuilder |
PutIndexedScriptRequestBuilder.setSource(byte[] source)
Sets the document to index in bytes form.
|
PutIndexedScriptRequestBuilder |
PutIndexedScriptRequestBuilder.setSource(byte[] source,
int offset,
int length)
Sets the document to index in bytes form (assumed to be safe to be used from different
threads).
|
PutIndexedScriptRequestBuilder |
PutIndexedScriptRequestBuilder.setSource(byte[] source,
int offset,
int length,
boolean unsafe)
Sets the document to index in bytes form.
|
PutIndexedScriptRequestBuilder |
PutIndexedScriptRequestBuilder.setSource(BytesReference source)
Sets the source.
|
PutIndexedScriptRequestBuilder |
PutIndexedScriptRequestBuilder.setSource(BytesReference source,
boolean unsafe)
Sets the source.
|
PutIndexedScriptRequestBuilder |
PutIndexedScriptRequestBuilder.setSource(Map<String,Object> source)
Index the Map as a JSON.
|
PutIndexedScriptRequestBuilder |
PutIndexedScriptRequestBuilder.setSource(Map<String,Object> source,
XContentType contentType)
Index the Map as the provided content type.
|
PutIndexedScriptRequestBuilder |
PutIndexedScriptRequestBuilder.setSource(Object... source)
Constructs a simple document with a field name and value pairs.
|
PutIndexedScriptRequestBuilder |
PutIndexedScriptRequestBuilder.setSource(String source)
Sets the document source to index.
|
PutIndexedScriptRequestBuilder |
PutIndexedScriptRequestBuilder.setSource(XContentBuilder sourceBuilder)
Sets the content source to index.
|
PutIndexedScriptRequestBuilder |
PutIndexedScriptRequestBuilder.setVersion(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.
|
PutIndexedScriptRequestBuilder |
PutIndexedScriptRequestBuilder.setVersionType(VersionType versionType)
Sets the versioning type.
|
Modifier and Type | Method and Description |
---|---|
PutIndexedScriptRequestBuilder |
Client.preparePutIndexedScript()
Put an indexed script
|
PutIndexedScriptRequestBuilder |
Client.preparePutIndexedScript(String scriptLang,
String id,
String source)
Put the indexed script
|
Modifier and Type | Method and Description |
---|---|
PutIndexedScriptRequestBuilder |
AbstractClient.preparePutIndexedScript()
Put an indexed script
|
PutIndexedScriptRequestBuilder |
AbstractClient.preparePutIndexedScript(String scriptLang,
String id,
String source)
Put the indexed script
|
Copyright © 2009–2015. All rights reserved.