Delete Index Operation

  • Use DeleteIndexOperation to remove an index from the database.

  • The index will be deleted from all the database-group nodes.

  • In this page:

Delete index example

// Define the delete index operation, specify the index name
const deleteIndexOp = new DeleteIndexOperation("Orders/Totals");

// Execute the operation by passing it to maintenance.send
await store.maintenance.send(deleteIndexOp);


const deleteIndexOp = new DeleteIndexOperation(indexName);
Parameters Type Description
indexName string Name of index to delete