You are currently browsing legacy 4.1 version of documentation. Click here to switch to the newest 5.1 version.
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.
Syntax
public ResetIndexOperation(string indexName);
Parameters | ||
---|---|---|
indexName | string | name of an index to reset |
Example
store.Maintenance.Send(new ResetIndexOperation("Orders/Totals"));