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:

https://doc.sitecore.com/xp/en/developers/101/sitecore-experience-platform/rebuild-the-xdb-index-in-solr.html

https://doc.sitecore.com/xp/en/developers/92/sitecore-experience-platform/rebuild-the-xdb-index-in-solr.html

Hope it helps!

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

3 thoughts on “Rebuilding xDB Index for xConnect in Sitecore

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

  2. In my xconnect container I donot found jobscontinuousIndexWorker folder under appdata. What will be the reason for that and how to resolve it

    Like

  3. Hi Vaishali,

    There is no folder as “jobscontinuousIndexWorker” under AppData folder in your xconnect website folder.

    Look for this path – \App_Data\jobs\continuous\IndexWorker

    Under App_Data (in your xconnect website folder), you should have folder called jobs. Then under Jobs folder, you will have have folder called continuous and so on.

    Like

Leave a comment