see on GitHub

Operations : How to stop indexing?

StopIndexingOperation is used to stop indexing for entire database.

Use StopIndexOperation to stop single index.

Note

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

Syntax

public StopIndexingOperation()

Example

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