UpdateRequest |
UpdateRequest.addScriptParam(String name,
Object value) |
Deprecated.
|
UpdateRequest |
UpdateRequest.defaultTypeIfNull(String defaultType) |
Deprecated.
|
UpdateRequest |
UpdateRequest.detectNoop(boolean detectNoop) |
Should this update attempt to detect if it is a noop? Defaults to true.
|
UpdateRequest |
UpdateRequest.doc(byte[] source,
int offset,
int length,
XContentType xContentType) |
Sets the doc to use for updates when a script is not specified.
|
UpdateRequest |
UpdateRequest.doc(byte[] source,
XContentType xContentType) |
Sets the doc to use for updates when a script is not specified.
|
UpdateRequest |
UpdateRequest.doc(Object... source) |
Sets the doc to use for updates when a script is not specified, the doc provided
is a field and value pairs.
|
UpdateRequest |
UpdateRequest.doc(String source,
XContentType xContentType) |
Sets the doc to use for updates when a script is not specified.
|
UpdateRequest |
UpdateRequest.doc(Map<String,Object> source) |
Sets the doc to use for updates when a script is not specified.
|
UpdateRequest |
UpdateRequest.doc(Map<String,Object> source,
XContentType contentType) |
Sets the doc to use for updates when a script is not specified.
|
UpdateRequest |
UpdateRequest.doc(IndexRequest doc) |
Sets the doc to use for updates when a script is not specified.
|
UpdateRequest |
UpdateRequest.doc(XContentBuilder source) |
Sets the doc to use for updates when a script is not specified.
|
UpdateRequest |
UpdateRequest.doc(XContentType xContentType,
Object... source) |
Sets the doc to use for updates when a script is not specified, the doc provided
is a field and value pairs.
|
UpdateRequest |
UpdateRequest.docAsUpsert(boolean shouldUpsertDoc) |
|
UpdateRequest |
UpdateRequest.fetchSource(boolean fetchSource) |
Indicates whether the response should contain the updated _source.
|
UpdateRequest |
UpdateRequest.fetchSource(String[] includes,
String[] excludes) |
Indicate that _source should be returned, with an
"include" and/or "exclude" set which can include simple wildcard
elements.
|
UpdateRequest |
UpdateRequest.fetchSource(String include,
String exclude) |
Indicate that _source should be returned with every hit, with an
"include" and/or "exclude" set which can include simple wildcard
elements.
|
UpdateRequest |
UpdateRequest.fetchSource(FetchSourceContext context) |
Explicitly set the fetch source context for this request
|
UpdateRequest |
UpdateRequest.fromXContent(XContentParser parser) |
|
UpdateRequest |
UpdateRequest.id(String id) |
Sets the id of the indexed document.
|
UpdateRequest |
UpdateRequest.retryOnConflict(int retryOnConflict) |
Sets the number of retries of a version conflict occurs because the document was updated between
getting it and updating it.
|
UpdateRequest |
UpdateRequest.routing(String routing) |
Controls the shard routing of the request.
|
UpdateRequest |
UpdateRequest.script(String script) |
Deprecated.
|
UpdateRequest |
UpdateRequest.script(String script,
String scriptLang,
ScriptType scriptType,
Map<String,Object> scriptParams) |
Deprecated.
|
UpdateRequest |
UpdateRequest.script(String script,
ScriptType scriptType) |
Deprecated.
|
UpdateRequest |
UpdateRequest.script(String script,
ScriptType scriptType,
Map<String,Object> scriptParams) |
Deprecated.
|
UpdateRequest |
UpdateRequest.script(Script script) |
The script to execute.
|
UpdateRequest |
UpdateRequest.scriptedUpsert(boolean scriptedUpsert) |
|
UpdateRequest |
UpdateRequest.scriptLang(String scriptLang) |
Deprecated.
|
UpdateRequest |
UpdateRequest.scriptParams(Map<String,Object> scriptParams) |
Deprecated.
|
UpdateRequest |
UpdateRequest.setIfPrimaryTerm(long term) |
only performs this update request if the document's last modification was assigned the given
primary term.
|
UpdateRequest |
UpdateRequest.setIfSeqNo(long seqNo) |
only perform this update request if the document's modification was assigned the given
sequence number.
|
UpdateRequest |
UpdateRequest.setRefreshPolicy(WriteRequest.RefreshPolicy refreshPolicy) |
|
UpdateRequest |
UpdateRequest.type(String type) |
Deprecated.
|
UpdateRequest |
UpdateRequest.upsert(byte[] source,
int offset,
int length,
XContentType xContentType) |
Sets the doc source of the update request to be used when the document does not exists.
|
UpdateRequest |
UpdateRequest.upsert(byte[] source,
XContentType xContentType) |
Sets the doc source of the update request to be used when the document does not exists.
|
UpdateRequest |
UpdateRequest.upsert(Object... source) |
Sets the doc source of the update request to be used when the document does not exists.
|
UpdateRequest |
UpdateRequest.upsert(String source,
XContentType xContentType) |
Sets the doc source of the update request to be used when the document does not exists.
|
UpdateRequest |
UpdateRequest.upsert(Map<String,Object> source) |
Sets the doc source of the update request to be used when the document does not exists.
|
UpdateRequest |
UpdateRequest.upsert(Map<String,Object> source,
XContentType contentType) |
Sets the doc source of the update request to be used when the document does not exists.
|
UpdateRequest |
UpdateRequest.upsert(IndexRequest upsertRequest) |
Sets the index request to be used if the document does not exists.
|
UpdateRequest |
UpdateRequest.upsert(XContentBuilder source) |
Sets the doc source of the update request to be used when the document does not exists.
|
UpdateRequest |
UpdateRequest.upsert(XContentType xContentType,
Object... source) |
Sets the doc source of the update request to be used when the document does not exists.
|
UpdateRequest |
UpdateRequest.version(long version) |
|
UpdateRequest |
UpdateRequest.versionType(VersionType versionType) |
|
UpdateRequest |
UpdateRequest.waitForActiveShards(int waitForActiveShards) |
|
UpdateRequest |
UpdateRequest.waitForActiveShards(ActiveShardCount waitForActiveShards) |
Sets the number of shard copies that must be active before proceeding with the write.
|