Pause Index Operation
The StopIndexOperation is used to pause indexing of a single 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"));