NOTE: You are looking at documentation for an older release. For the latest information, see the current release documentation.
Migration Upgrade with Task API
editMigration Upgrade with Task API
editSubmission of upgrade request task will requires the IndexUpgradeRequest
and will return
IndexUpgradeSubmissionResponse
. The 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();