Python Client: drop secondary index?

python

#1

how do I drop secondary index using python client?


#2

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. http://www.aerospike.com/apidocs/python/client.html#aerospike.Client.index_remove


#3

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


#4

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