We are using a scroll query to load all the documents from ES 2.4. It took less than 2 minutes to load 3 million documents. We recently upgrade to ES 5.6 and it takes 10-12 minutes on average. We are using _doc for sort and the order is DESC for ES 5.6. We used _doc and there was no order specified in ES 2.4 (null was passed into the Java client library ES 2.4). But, in the Java client library for ES 5.6 the option to pass null is removed. So, we are passing DESC. How can we optimize the scroll query in ES 5.6?
Elasticsearch 5.6 is EOL and no longer supported. Please upgrade ASAP.
(This is an automated response from your friendly Elastic bot. Please report this post if you have any suggestions or concerns )
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.