You are currently browsing legacy 4.0 version of documentation. Click here to switch to the newest 5.2 version.

We can help you with migration to the latest RavenDB

Contact Us Now
see on GitHub

Operations: How to Reset an Index

ResetIndexOperation will remove all indexing data from a server for a given index so the indexation can start from scratch for that index.


public ResetIndexOperation(string indexName);
indexName string name of an index to reset


store.Maintenance.Send(new ResetIndexOperation("Orders/Totals"));