Skip to main content

Operations: How to Stop an Index

The StopIndexOperation is used to stop indexing for an index.

Indexing will be resumed automatically after server restart.

Syntax

public StopIndexOperation(string indexName)
Parameters
indexNamestringname of an index to stop indexing

Example

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