Python Client: drop secondary index?



how do I drop secondary index using python client?


I’ve never used it, but have you tried this?

index_remove(ns, index_name[, policy]) Remove the index with index_name from the namespace.

Parameters: ns (str) – the namespace in the aerospike cluster. index_name (str) – the name of the index. policy (dict) – optional Info Policies. Raises: a subclass of AerospikeError.


@Albot I verified your suggestion, @Charuvind_Atre That works.


@Albot @pgupta Thank you! I was googling ‘drop index aerospike python’ and google failed me.