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
delete_index_op = DeleteIndexOperation("Orders/Totals")
# Execute the operation by passing it to maintenance.send
store.maintenance.send(delete_index_op)
Syntax
class DeleteIndexOperation(VoidMaintenanceOperation):
def __init__(self, index_name: str): ...
Parameters | Type | Description |
---|---|---|
index_name | str |
Name of index to delete |