Patch Request Document Update Query
TLDR Sandip asked if whole document is needed for patch request updates. Jason clarified that only updated fields need to be sent.
Powered by Struct AI
3
1mo
Solved
Aug 29, 2023 (1 month ago)
Sandip
Sandip
05:32 PMHi Jason,
when update document using patch request, it is need to send whole document instead of only updated change.
when update document using patch request, it is need to send whole document instead of only updated change.
Jason
Jason
07:01 PMNo you can send just the fields that need to be updated
Sandip
Sandip
07:25 PM👍
Typesense
Lightning-fast, open source search engine for everyone | Knowledge Base powered by Struct.AI
Indexed 2779 threads (79% resolved)
Similar Threads
Updating Patch Documents in Typesense
Jason queried about possible patch document updates, Jason confirmed this and provided necessary links. Differences between update, upsert and emplace were clarified.
6
10mo
Solved
Query on Updating Document's ID Field
Mehdi inquired about updating a document's `id` field. Kishore Nallan explained it's a special field and couldn't be updated, and suggested tracking this proposal through a GitHub issue.
4
27mo
Solved
Deleting a Document Field in an Update Operation
Zhen asked if it's possible to delete a document field while updating. Jason suggested it cannot be done while updating, but can be achieved using an upsert operation.
3
12mo
Solved