Updates the getOrCreateCollectionFromModel method in TypesenseEngine to verify if a collection exists on the server. If not found, it is created. This ensures consistency between the worker and server, fixing queue workers not being able to import after flushing, as mentioned in #845.
Updates the
getOrCreateCollectionFromModel
method inTypesenseEngine
to verify if a collection exists on the server. If not found, it is created. This ensures consistency between the worker and server, fixing queue workers not being able to import after flushing, as mentioned in #845.