SDK
SDK Jvm v1.x
2

create #

Creates a new index in Kuzzle

:::: tabs ::: tab Java

Arguments #

CompletableFuture<Void> create(String index) 
  throws NotConnectedException, InternalException
ArgumentTypeDescription
index
String
Index name

Usage #

kuzzle.getIndexController().create("nyc-open-data").get();

::: ::: tab Kotlin

Arguments #

fun create(index: String): CompletableFuture<Void>
ArgumentTypeDescription
index
String
Index name

Usage #

kuzzle.indexController.create("nyc-open-data").get()

::: ::::