SDK
SDK Jvm v1.x
2

create #

Creates a new index in Kuzzle

:::: tabs ::: tab Java

Arguments #

Copied to clipboard!
CompletableFuture<Void> create(String index) 
  throws NotConnectedException, InternalException
Argument Type Description
index
String
Index name

Usage #

Copied to clipboard!
kuzzle.getIndexController().create("nyc-open-data").get();

::: ::: tab Kotlin

Arguments #

Copied to clipboard!
fun create(index: String): CompletableFuture<Void>
Argument Type Description
index
String
Index name

Usage #

Copied to clipboard!
kuzzle.indexController.create("nyc-open-data").get()

::: ::::