This section explains which methods you should use for partial and full document updates.
For partial updates, use the updateDocument methods. See void updateDocument(Document document, string[] fields) and void updateDocumentList(Document[ ] documentList, string[][] fieldsList).
updateDocument
For full updates, use the addDocument method. See void addDocument(Document document) and void addDocumentList(Document[ ] documentList).
addDocument