see on GitHub

Operations : How to Stop Indexing

StopIndexingOperation is used to stop indexing for the entire database.

Use StopIndexOperation to stop single index.

Note

Indexing will be resumed automatically after a server restart or after using start indexing operation.

Syntax

public StopIndexingOperation()

Example

store.Maintenance.Send(new StopIndexingOperation());