dropIndex

suspend fun dropIndex(keyspace: Keyspace, indexName: String, common: CommonOptions = CommonOptions.Default, ignoreIfNotExists: Boolean = false)

Drops the primary or secondary index named indexName on keyspace.

Throws

com.couchbase.client.core.error.IndexNotFoundException

if the index does not exist.

com.couchbase.client.core.error.IndexFailureException

if dropping the index failed (see reason for details).

com.couchbase.client.core.error.CouchbaseException

if any other generic unhandled/unexpected errors.