Troubleshooting Document Insertion to Collection
TLDR Vishal had trouble inserting documents into the collection. Jason suggested reading the response body for errors. Issue was likely due to non-optional fields in the schema.

Jun 09, 2023 (3 months ago)
Vishal
09:02 PMJason
09:13 PMVishal
09:14 PMVishal
09:21 PMVishal
09:23 PMJason
09:24 PMVishal
09:26 PMVishal
09:27 PMVishal
09:28 PMJason
09:29 PMUpdate and emplace accept partial documents: https://typesense.org/docs/0.24.1/api/documents.html#action-modes-batch-create-upsert-update-emplace

Typesense
Indexed 2764 threads (79% resolved)
Similar Threads
Threading Problem During Multiple Collection Creation and Batch Insertion in Typesense
Johan has a problem with creating multiple collections and batch-inserting documents into Typesense, which is returning results from different collections. Kishore Nallan helps troubleshoot the issue and suggests a potential local race condition, which is fixed in a later build.
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.

Troubleshooting Collection Schema and Upsert Issue in Typesense
David was having trouble upserting data with id in Typesense. Jason clarified that 'id' didn't need to be included in the schema and suggested a correct approach for specifying unindexed fields. The issue was resolved when David identified a mistake related to the output format from Postgres.


Bug in Using Import-Documents Endpoint
Dan reported a bug when using the import-documents with an upsert to update documents while Cory experienced the same. Kishore Nallan offered a solution through a release candidate (RC) build after identifying the data edge case.
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.

