typesense-mongodb
typesense-mongodb copied to clipboard
Error for a db with 270k records and more than 30 fields
Description
I've a problem to sync a MongoDB collection that have more than 270k documents with more than 30 fields. The process workers for a while and than exit with an error.
Steps to reproduce
typesense-mongodb
--mongo-collection=page_infos
--mongo-database=MotherDB
--typesense-collection=page_infos \
--mongo-url="mongodb+srv://user:[email protected]/"
--typesense-url=http://localhost:8108
--typesense-api-key=xxx
Expected Behavior
Complete sync.
Actual Behavior
The error is: "RangeError: Too many properties to enumerate".

Metadata
Typsense Version:
OS: Mac OS
Maybe the issue was solved in the recent version of typesense library... Is possible update it?