Search in sources :

Example 1 with CloseIndex

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

the class ClientES6 method closeIndex.

@Override
public void closeIndex(String index) {
    final CloseIndex closeIndex = new CloseIndex.Builder(index).build();
    executeWithExpectedSuccess(closeIndex, "failed to close index " + index);
}
Also used : CloseIndex(io.searchbox.indices.CloseIndex)

Aggregations

CloseIndex (io.searchbox.indices.CloseIndex)1