NOTE: You are looking at documentation for an older release. For the latest information, see the current release documentation.
Submission of upgrade request task will requires the
IndexUpgradeRequest and will return
IndexUpgradeSubmissionResponse can later be use to fetch
TaskId and query the Task API for results.
IndexUpgradeRequest request = new IndexUpgradeRequest("test"); TaskSubmissionResponse response = client.migration() .submitUpgradeTask(request, RequestOptions.DEFAULT); String taskId = response.getTask();