You are currently browsing legacy 4.1 version of documentation. Click here to switch to the newest 4.2 version.

We can help you with migration to the latest RavenDB

Contact Us Now
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());