Language
C#
Article For
3.5 4.0 4.2 5.0 5.1 5.2 5.3

Operations: How to Delete an Index

DeleteIndexOperation is used to remove an index from a database.

Syntax

public DeleteIndexOperation(String indexName)
Parameters
indexName String name of an index to delete

Example

store.maintenance().send(new DeleteIndexOperation("Orders/Totals"));