UpdateRequestBuilder |
UpdateRequestBuilder.setDetectNoop(boolean detectNoop) |
Sets whether to perform extra effort to detect noop updates via docAsUpsert.
|
UpdateRequestBuilder |
UpdateRequestBuilder.setDoc(byte[] source,
int offset,
int length,
XContentType xContentType) |
Sets the doc to use for updates when a script is not specified.
|
UpdateRequestBuilder |
UpdateRequestBuilder.setDoc(byte[] source,
XContentType xContentType) |
Sets the doc to use for updates when a script is not specified.
|
UpdateRequestBuilder |
UpdateRequestBuilder.setDoc(Object... source) |
Sets the doc to use for updates when a script is not specified, the doc provided
is a field and value pairs.
|
UpdateRequestBuilder |
UpdateRequestBuilder.setDoc(String source,
XContentType xContentType) |
Sets the doc to use for updates when a script is not specified.
|
UpdateRequestBuilder |
UpdateRequestBuilder.setDoc(Map<String,Object> source) |
Sets the doc to use for updates when a script is not specified.
|
UpdateRequestBuilder |
UpdateRequestBuilder.setDoc(Map<String,Object> source,
XContentType contentType) |
Sets the doc to use for updates when a script is not specified.
|
UpdateRequestBuilder |
UpdateRequestBuilder.setDoc(IndexRequest indexRequest) |
Sets the doc to use for updates when a script is not specified.
|
UpdateRequestBuilder |
UpdateRequestBuilder.setDoc(XContentBuilder source) |
Sets the doc to use for updates when a script is not specified.
|
UpdateRequestBuilder |
UpdateRequestBuilder.setDoc(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.
|
UpdateRequestBuilder |
UpdateRequestBuilder.setDocAsUpsert(boolean shouldUpsertDoc) |
Sets whether the specified doc parameter should be used as upsert document.
|
UpdateRequestBuilder |
UpdateRequestBuilder.setFetchSource(boolean fetchSource) |
Indicates whether the response should contain the updated _source.
|
UpdateRequestBuilder |
UpdateRequestBuilder.setFetchSource(String[] includes,
String[] excludes) |
Indicate that _source should be returned, with an
"include" and/or "exclude" set which can include simple wildcard
elements.
|
UpdateRequestBuilder |
UpdateRequestBuilder.setFetchSource(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.
|
UpdateRequestBuilder |
UpdateRequestBuilder.setId(String id) |
Sets the id of the indexed document.
|
UpdateRequestBuilder |
UpdateRequestBuilder.setIfPrimaryTerm(long term) |
only perform this update request if the document was last modification was assigned the given
primary term.
|
UpdateRequestBuilder |
UpdateRequestBuilder.setIfSeqNo(long seqNo) |
only perform this update request if the document was last modification was assigned the given
sequence number.
|
UpdateRequestBuilder |
UpdateRequestBuilder.setRetryOnConflict(int retryOnConflict) |
Sets the number of retries of a version conflict occurs because the document was updated between
getting it and updating it.
|
UpdateRequestBuilder |
UpdateRequestBuilder.setRouting(String routing) |
Controls the shard routing of the request.
|
UpdateRequestBuilder |
UpdateRequestBuilder.setScript(Script script) |
The script to execute.
|
UpdateRequestBuilder |
UpdateRequestBuilder.setScriptedUpsert(boolean scriptedUpsert) |
Sets whether the script should be run in the case of an insert
|
UpdateRequestBuilder |
UpdateRequestBuilder.setType(String type) |
Sets the type of the indexed document.
|
UpdateRequestBuilder |
UpdateRequestBuilder.setUpsert(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.
|
UpdateRequestBuilder |
UpdateRequestBuilder.setUpsert(byte[] source,
XContentType xContentType) |
Sets the doc source of the update request to be used when the document does not exists.
|
UpdateRequestBuilder |
UpdateRequestBuilder.setUpsert(Object... source) |
Sets the doc source of the update request to be used when the document does not exists.
|
UpdateRequestBuilder |
UpdateRequestBuilder.setUpsert(String source,
XContentType xContentType) |
Sets the doc source of the update request to be used when the document does not exists.
|
UpdateRequestBuilder |
UpdateRequestBuilder.setUpsert(Map<String,Object> source) |
Sets the doc source of the update request to be used when the document does not exists.
|
UpdateRequestBuilder |
UpdateRequestBuilder.setUpsert(Map<String,Object> source,
XContentType contentType) |
Sets the doc source of the update request to be used when the document does not exists.
|
UpdateRequestBuilder |
UpdateRequestBuilder.setUpsert(IndexRequest indexRequest) |
Sets the index request to be used if the document does not exists.
|
UpdateRequestBuilder |
UpdateRequestBuilder.setUpsert(XContentBuilder source) |
Sets the doc source of the update request to be used when the document does not exists.
|
UpdateRequestBuilder |
UpdateRequestBuilder.setUpsert(XContentType xContentType,
Object... source) |
Sets the doc source of the update request to be used when the document does not exists.
|
UpdateRequestBuilder |
UpdateRequestBuilder.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.
|
UpdateRequestBuilder |
UpdateRequestBuilder.setVersionType(VersionType versionType) |
Sets the versioning type.
|
UpdateRequestBuilder |
UpdateRequestBuilder.setWaitForActiveShards(int waitForActiveShards) |
|
UpdateRequestBuilder |
UpdateRequestBuilder.setWaitForActiveShards(ActiveShardCount waitForActiveShards) |
Sets the number of shard copies that must be active before proceeding with the write.
|