You are currently browsing legacy 4.1 version of documentation. Click here to switch to the newest 5.1 version.

We can help you with migration to the latest RavenDB

Contact Us Now
see on GitHub

Operations: How to Enable an Index

The EnableIndexOperation is used to turn on the indexing for a given index.


public EnableIndexOperation(string indexName)
indexName string name of an index to enable indexing


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