public interface ElasticsearchSchemaDropper extends Service
| Modifier and Type | Method and Description |
|---|---|
void |
drop(String indexName,
ExecutionOptions executionOptions)
Drops an index, throwing an exception if dropping fails.
|
void |
dropIfExisting(String indexName,
ExecutionOptions executionOptions)
Drops an index, throwing an exception if dropping fails.
|
void drop(String indexName, ExecutionOptions executionOptions)
indexName - The name of the index to drop.SearchException - If an error occurs.void dropIfExisting(String indexName, ExecutionOptions executionOptions)
This method will skip operations silently if the index does not exist.
indexName - The name of the index to drop.SearchException - If an error occurs.Copyright © 2006–2016 Hibernate. All rights reserved.