Class IngestDocumentRequest
java.lang.Object
ai.vectros.resources.documents.requests.IngestDocumentRequest
-
Method Details
-
getUpsert
- Returns:
- 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.
-
getAllowClear
- Returns:
- 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.
-
getBody
-
equals
-
getAdditionalProperties
-
hashCode
public int hashCode() -
toString
-
builder
-