Chandar Venkata Rama
01/10/2025, 8:28 AMAnkarao
01/10/2025, 8:34 AMChandar Venkata Rama
01/10/2025, 8:56 AMKishore Nallan
01/10/2025, 10:23 AMreplace
here? We only have emplace
API action for updates.Chandar Venkata Rama
01/10/2025, 11:02 AMKishore Nallan
01/10/2025, 11:32 AMChandar Venkata Rama
01/10/2025, 11:35 AMKishore Nallan
01/10/2025, 11:47 AMChandar Venkata Rama
01/10/2025, 1:20 PMwatch(pipeline, full_document="updateLookup")
and then do a update or delete based on the operation type [which can be delete , update or replace]
i think we havent handled replace in the conditionKishore Nallan
01/10/2025, 1:25 PMreplace
. There is no such operation in Typesense.Chandar Venkata Rama
01/10/2025, 1:26 PMKishore Nallan
01/10/2025, 1:26 PMA document with id 1234 already exists.
means that you are trying to index a document that already exist. You have to use either upsert
or emplace
mode to handle that. You can check the docs here for the various action modes: https://typesense.org/docs/27.1/api/documents.html#action-modes-create-upsert-update-emplaceChandar Venkata Rama
01/10/2025, 1:27 PM