You are currently browsing legacy 5.0 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 Get an Index

GetIndexOperation is used to retrieve an index definition from a database.


public GetIndexOperation(string indexName)
indexName string name of an index
Return Value
IndexDefinition Instance of IndexDefinition representing index.


IndexDefinition index = store.Maintenance.Send(new GetIndexOperation("Orders/Totals"));