Interface IngestDocumentRequest._FinalStage
- All Known Implementing Classes:
IngestDocumentRequest.Builder
- Enclosing class:
IngestDocumentRequest
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) allowClear(Boolean allowClear) allowClear(Optional<Boolean> allowClear) Only relevant with?build()Whentrue, if a document with the sameexternalIdalready exists its content is overwritten (the submittedpayload,title, and — when supplied —textare applied and the version is bumped) instead of being returned unchanged; the immutableexternalId,schemaId,indexMode, and ownership are never changed.
-
Method Details
-
build
IngestDocumentRequest build() -
additionalProperty
-
additionalProperties
-
upsert
When
true, if a document with the sameexternalIdalready exists its content is overwritten (the submittedpayload,title, and — when supplied —textare applied and the version is bumped) instead of being returned unchanged; the immutableexternalId,schemaId,indexMode, and ownership are never changed. Defaults tofalse. Requires thedocuments:uscope in addition todocuments:c. -
upsert
-
allowClear
Only relevant with
?upsert=true, which overwrites an existing document as a full replacement. If the submitted request omits (or sends as null) a stored field that a list or lookup response returns only as an indexed projection (a large document whose payload is stored externally), the overwrite is rejected unless you setallowClear=trueto confirm that clearing those fields is intended. Use PATCH to update without clearing omitted fields. Defaults tofalse. -
allowClear
-