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

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

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

© 2015 Copyright Aerospike, Inc. | All rights reserved. Creators of the Aerospike Database.