Pause the index rebuild process
The index rebuild process can be slow or affect the live indexing performance. In such cases, you might want to temporarily pause the process to scale-up resources or adjust some configurations. You can pause and continue a rebuild process with two PowerShell commands.
The Sitecore.XconnectSearchIndexer.exe program exits after it has sent its command. It does not wait for the rebuild process to react or reply.
To pause a running rebuild process:
-
Go to the
<xConnect role root>\App_Data\job\continuous\IndexWorker\folder. -
Run the
Sitecore.XConnectSearchIndexer.exe -PauseRebuildcommand. You can also use the shorter-prargument.
To continue a paused rebuild process:
-
Go to the
<xConnect role root>\App_Data\job\continuous\IndexWorker\folder. -
Run the
Sitecore.XConnectSearchIndexer.exe -ContinueRebuildcommand. You can also use the shorter-crargument.
The Sitecore.XconnectSearchIndexer.exe program returns an error message if:
-
You send a
PauseRebuildcommand when there is no running rebuild process to pause. -
You send a
PauseRebuildcommand when the running rebuild process is in its final stage. -
You send a
ContinueRebuildcommand when there is no paused rebuild process to continue.