exists #
Checks if the given index exists in Kuzzle.
Arguments #
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 #
Boolean result = kuzzle.getIndexController().exists("nyc-open-data").get();
Edit this page on Github(opens new window)