Atul Ranjan
04/05/2023, 10:24 AMpatch-update
API.
Right now I can update an attribute of one row
at a time. Using PATCH
API:
PATCH ${TYPESENSE_HOST}/collections/:collection/documents/:id
And we have other option to update using
/collections/products/documents/import?action=upsert
But the problem with the 2nd option is, we need to send all the attributes. Not just changed ones.Jason Bosco
04/05/2023, 10:25 AMaction=emplace
using which you can send partial attributesJason Bosco
04/05/2023, 10:25 AMAtul Ranjan
04/05/2023, 10:27 AMJason Bosco
04/05/2023, 10:27 AM