Cancel the search or index update. For index updates, documents indexed so far are saved, and the indexer will stop after completing the current document.
CancelImmediately
For index updates only, cancels the update immediately, without saving any changes to the index.