SDK
SDK Java v3.x
2

This SDK is deprecated. We recommend to use the Kuzzle SDK-JVM.
A migration guide is available here

exists #

Checks if the given index exists in Kuzzle.

Arguments #

CompletableFuture<Boolean> exists(final String index) 
  throws NotConnectedException, InternalException
ArgumentTypeDescription
index
String
Index name

Return #

Returns a boolean that indicates whether the index exists or not.

Usage #

Boolean result = kuzzle.getIndexController().exists("nyc-open-data").get();