Recommendations for Batch Size in /import Endpoint
TLDR Dima asked for recommendations on batch size for the /import endpoint. Kishore Nallan suggested a few thousand documents per batch, unless documents are very large.
Mar 02, 2023 (7 months ago)
Kishore Nallan09:47 AM
Indexed 2779 threads (79% resolved)
Optimal batch_size for Importing Million Document Dataset
Ahmad asked the best `batch_size` for inserting million data. Jason advised staying at default and using 5000 document batches through API calls.
Implementing Typesense Updates with JSONL Import and Aliases
Ken is building a search solution for a website using Typesense. They consulted Kishore Nallan about the implementation of updates using JSONL import and aliases and how to know when the new collection is indexed and ready. Measures, such as dividing large imports into small batches, were suggested to address the issue.
Resolving Timeout Errors in Large Document Imports
Ken had issues with importing over 360k documents due to operation timeout. Jason advised increasing the timeout in the client library.