mDelete #
Deletes multiple indexes.
:::: tabs ::: tab Java
Arguments #
CompletableFuture<ArrayList<String>> mDelete(ArrayList<String> indexes)
throws NotConnectedException, InternalException
Argument | Type | Description |
---|---|---|
indexes | ArrayList<String> | List of indexes names |
Return #
Returns an ArrayList<String>
containing the list of indexes names deleted.
Usage #
ArrayList<String> indexes = new ArrayList<>();
indexes.add("nyc-open-data");
ArrayList<String> result = kuzzle.getIndexController().mDelete(indexes).get();
::: ::: tab Kotlin
Arguments #
fun mDelete(indexes: ArrayList<String>): CompletableFuture<ArrayList<String>>
Argument | Type | Description |
---|---|---|
indexes | ArrayList<String> | List of indexes names |
Return #
Returns an ArrayList<String>
containing the list of indexes names deleted.
Usage #
val indexes: ArrayList<String> = ArrayList<String>().apply {
add("nyc-open-data")
}
val result: ArrayList<String> = kuzzle.indexController.mDelete(indexes).get()
::: ::::
Edit this page on Github(opens new window)