Force adding of Dangling Indices via a command


I am currently using Elasticsearch 6.0 and I want to build a plugin to force the adding of the dangling indices through a rest api instead of adding a new node or waiting for the cluster's state to change.
As there is already a DanglingIndicesState class which already helps to process the dangling indices, I would like to use it via the plugin. Is there a way to call the internal api/service for this?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.