SDK
SDK Jvm v1.x
2

mDelete #

Deletes multiple indexes.

:::: tabs ::: tab Java

Arguments #

CompletableFuture<ArrayList<String>> mDelete(ArrayList<String> indexes) 
  throws NotConnectedException, InternalException
ArgumentTypeDescription
indexesArrayList<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>>
ArgumentTypeDescription
indexesArrayList<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()

::: ::::