Discussion on Typesense API's Batch Document Upload
TLDR J questioned Typesense API not accepting JSON batch uploads. Kishore Nallan explained it supports large imports, with client-side conversions. Ross confirmed this.
Jan 01, 2023 (9 months ago)
J
12:26 PMKishore Nallan
12:33 PMKishore Nallan
12:34 PMRoss
02:14 PMTypesense
Indexed 2786 threads (79% resolved)
Similar Threads
Resolving Typesense Documents Import Error
Aljosa experienced an error while using typesense `documents().import()`, related to handling of large document arrays. Jason clarified that batch_size controls server-side batching, not client-side. He advised splitting arrays to address the issue and committed to elaborating its functionality in the docs. Aljosa proposed amending the TypeScript types to accommodate batch_size in the import options.
Issues with Typesense Import API Document Indexing
Morgan experienced inconsistent document indexing using the Typesense Import API. Jason clarified that Typesense returns a success: true or false for each record in the batch import call.
Typesense Server Bulk Import/Upsert Issue Resolved
Adam was confused about the discrepancy between the successful responses and the actual indexed data while working with a custom WP plugin integrating with Typesense. The issue was a bug related to fetching documents in the wrong order, not a Typesense problem.