create #
Creates a new index in Kuzzle
:::: tabs ::: tab Java
Arguments #
CompletableFuture<Void> create(String index)
throws NotConnectedException, InternalException| Argument | Type | Description |
|---|---|---|
index | String | Index name |
Usage #
kuzzle.getIndexController().create("nyc-open-data").get();::: ::: tab Kotlin
Arguments #
fun create(index: String): CompletableFuture<Void>| Argument | Type | Description |
|---|---|---|
index | String | Index name |
Usage #
kuzzle.indexController.create("nyc-open-data").get()::: ::::