Rebuilding xDB Index for xConnect in Sitecore

Recently I had a scenario where I had to rebuild the xDB Index, initially I thought it will be through Control Panel and the way we rebuild other indexes in SOLR.

But to my surprise, it wasn’t using Sitecore Control Panel or SOLR’s dashboard, it was using the Command Prompt on the server where your xConnect is hosted.

It is very simple process:

  1. Go to the IndexWorker Job folder (Ex. C:\inetpub\wwwroot\{xConnect website}\App_Data\jobs\continuous\IndexWorker
  2. Open command prompt in Administrator mode.
  3. Go to the IndexWorker folder path:

4. Run below command as per your Sitecore version:
For Sitecore 9.x – XConnectSearchIndexer -rr
For Sitecore 10.x – Sitecore.XConnectSearchIndexer.exe -rr

Reference from Sitecore Docs:

Hope it helps!

Thank you.. Keep Learning.. Keep Sitecoring.. 🙂

One thought on “Rebuilding xDB Index for xConnect in Sitecore

  1. Pingback: Enabling Anonymous Contacts to be Indexed | Sitecore Diaries

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s