I am creating a batch job to flush all the data available in my keyspace. When I use the command DROP KEYSPACE <keyspace>
, tables and data are getting cleared while the secondary index created for each table is not dropped. Is there a way to delete all the indices available in a particular keyspace using CQL? Should I mention each index name available in the keyspave like
DROP INDEX <indexname>
Please help me on this. Thanks