solomon mulatu
05/28/2025, 6:28 PM.update()
method perform a partial update like MongoDB's $set
, or does it replace the entire document? What precautions should developers take when updating documents in Typesense?Kishore Nallan
05/29/2025, 8:50 AMaction
parameter. Please check the action modes documented here: https://typesense.org/docs/28.0/api/documents.html#action-modes-create-upsert-update-emplace
Specifically, the update
action mode can be used for sending a partial document consisting of only fields that you wish to update.solomon mulatu
05/29/2025, 8:55 AM