You are currently browsing legacy 4.1 version of documentation. Click here to switch to the newest 5.1 version.
Operations: How to Stop an Index
The StopIndexOperation is used to stop indexing for an index.
Note
Indexing will be resumed automatically after server restart.
Syntax
public StopIndexOperation(string indexName)
Parameters | ||
---|---|---|
indexName | string | name of an index to stop indexing |
Example
store.Maintenance.Send(new StopIndexOperation("Orders/Totals"));