I'm using 'sync' force-merge request after bulk-indexing of large data set (230 millions documents).
The client timeouts after 10 mins:
java.net.SocketTimeoutException: 600,000 milliseconds timeout on connection http-outgoing-0
I'm using ES Java client (7.6.1), code:
ForceMergeRequest request = new ForceMergeRequest(); request.maxNumSegments(5); client.indices().forcemerge(request, RequestOptions.DEFAULT);
Is there an option to overwrite the "global socket timeout" specifically for forcemerge request?
Let say I would use 30 minutes for forcemerge and 1 minute for the rest?