Updating Array Field in Typesense Integration
TLDR Krish queried about updating array field on Typesense. Kishore Nallan explained how to do this, but noted that the array must be replaced instead of appended to.
Dec 13, 2022 (12 months ago)
Krish
03:01 PMKishore Nallan
03:08 PMKishore Nallan
03:09 PMKishore Nallan
03:11 PMKrish
03:15 PMKrish
03:24 PMKrish
03:26 PMKishore Nallan
04:08 PMDec 14, 2022 (12 months ago)
Krish
05:11 AMTypesense
Indexed 3015 threads (79% resolved)
Similar Threads
Handling String Arrays in Typesense Documents
TJ asked about updating string arrays in documents. Jason confirmed retrieval and re-sending is needed, and suggested thumbs-up on a feature request.
Adding and Updating Collections in Typesense Server
sonu asked about methods to add and update collections in a Typesense server. Jason advised that documents can be added individually or in bulk, and updates can be batched using the import function, even with a small React app with a MySQL database.
Bulk Updating of Record Values in Typesense
Phillip inquired about the possibility of bulk updating in Typesense. robert confirmed it's possible using .import(docs, { mode: 'upsert' }) from the API.
Modifying Arrays in Typesense Documents
Jacob asked about modifying array elements in Typesense. Kishore Nallan suggested creating separate collections as a workaround.
Handling Kinesis Stream Event Batching with Typesense
Dui had questions about how to handle Kinesis stream events with Typesense. Kishore Nallan suggested using upsert mode for creation/update and differentiating with logical deletion. After various discussions including identifying and resolving a bug, they finalized to introduce an `emplace` action in Typesense v0.23.