Faster indexing in Elastic Search through rake task in rails

I have more over 1.5 million records in my MySQL database. If I run the rake task to index data into AWS ElasticSearch, it is taking more than 3 days to complete indexing. Is there any alternative way to do faster indexing?

1 answer