Transferring data from Elasticsearch to MongoDB

62 views Asked by At

I want to transfer data from Elasticsearch to MongoDB using Laravel commands. I know I'll be using json_encode and json_decode, but I don't know how to structure this entire process.

I copied the data from Elasticsearch, later assigned it to a variable in Laravel, changed the format using json_encode, and then transferred it to MongoDB. However, this approach doesn't seem very efficient to me, especially for large datasets.

0

There are 0 answers