use of org.graylog.shaded.elasticsearch7.org.elasticsearch.client.indices.DeleteAliasRequest in project graylog2-server by Graylog2.
the class IndicesAdapterES7 method removeAlias.
@Override
public void removeAlias(String index, String alias) {
final DeleteAliasRequest request = new DeleteAliasRequest(index, alias);
client.execute((c, requestOptions) -> c.indices().deleteAlias(request, requestOptions), "Unable to remove alias " + alias + ", pointing to " + index);
}
Aggregations