public interface ElasticsearchSchemaDropper
| 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.executionOptions - The execution options, giving more context information.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.executionOptions - The execution options, giving more context information.SearchException - If an error occurs.Copyright © 2006–2017 Hibernate. All rights reserved.