SDK
SDK Java v3.x
2

# exists

Checks if the given index exists in Kuzzle.

# Arguments

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

# Return

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

# Usage

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