Search in sources :

Example 1 with DeleteTemplate

use of io.searchbox.indices.template.DeleteTemplate in project graylog2-server by Graylog2.

the class ClientES6 method deleteTemplates.

@Override
public void deleteTemplates(String... templates) {
    for (String template : templates) {
        final DeleteTemplate templateRequest = new DeleteTemplate.Builder(template).build();
        executeWithExpectedSuccess(templateRequest, "failed to delete template " + template);
    }
}
Also used : DeleteTemplate(io.searchbox.indices.template.DeleteTemplate)

Aggregations

DeleteTemplate (io.searchbox.indices.template.DeleteTemplate)1