Gravatar for

Question by wvuong, Apr 18, 2016 9:35 AM

Top Results Pub Web Not Syncing Correctly

I am trying to use Top Results as managed through the Sitecore Content Editor. I have a CM server and 2 CD servers with a 'master' and 'web' on the CM and a 'pubweb' on the CDs. I have setup the top results synchronization to include the pubweb database in the Coveo.SearchProvider.Config file and I see three top generated results in the admin tool, but the top result for pubweb uses the web database for some reason.

Here you can see that it using the correct source pubweb, but in the queries and address field, it is referencing the item in the web db. alt text

This is the top result item for the master db and it is correct. alt text

Gravatar for

Comment by Jean-François L'Heureux, Apr 18, 2016 10:02 AM


Can you give me the following sections of your configuration on your CM and CDs please? It will help us understand your current Sitecore setup.

  • sitecore/databases/database[id=web]
  • sitecore/databases/database[id=pubweb]
  • sitecore/scheduling/agent[type="Coveo.SearchProvider.Agents.SynchronizeTopResults, Coveo.SearchProviderBase"]
  • sitecore/sites/site[name=website]
  • sitecore/contentSearch/configuration/indexes/index[id=Coveowebindex]
  • sitecore/contentSearch/configuration/indexes/index[id=Coveopubwebindex]
Gravatar for

Comment by wvuong, Apr 20, 2016 10:13 AM

Here is a link to a xml file containing the various elements you wanted.

Gravatar for

Comment by wvuong, Apr 20, 2016 1:40 PM

Also when syncing the pubweb top results manually in the control panel, the top results for pubweb in the admin tool are correctly pointing to the pubweb items, but then it gets deleted and replaced with the incorrect references again (I'm assuming theres something wrong with my configuration of the synchronization agent)

Gravatar for

Comment by Jean-François L'Heureux, Apr 20, 2016 2:09 PM


I guess the configuration you just linked is your CM instance configuration. Can I get the same information for all your CDs please? I am thinking one of your CD is replacing the top results with the wrong information.

Gravatar for

Comment by wvuong, Apr 20, 2016 2:45 PM

Yes, that was for a cm instance. Here are the elements for the CD instance:

I noticed that the synchronization agent did not have pubweb as a value and think that may be the issue, also there is no Coveowebindex defined in the production config.

2 Replies
Gravatar for

Answer by Jean-François L'Heureux, Apr 20, 2016 3:44 PM

Thank you for the configuration sections.

After review, here's what I think should be modified in your CD instances configuration files:

  • Change the Coveopubwebindex index crawler database from "web" to "pubweb". This is really strange that it is currently using the web database as you have a pubweb one.
  • Remove the SynchronizeTopResults agent completely. This way, the CM server will be the only one updating top results in CES and the CD servers won't update them anymore.
Gravatar for

Comment by wvuong, Apr 20, 2016 4:32 PM

I removed the SynchronizeTopResults from the CD server and that resolved the issue. Thanks!

Gravatar for

Answer by Simon, Apr 18, 2016 9:53 AM


Here is how I would setup my indexes:


  • Master
  • Web
  • Pub


  • Pub (ReadOnly, strategies disabled)

Also on the CD, I would enable all the SKIP nodes to disable the link with the Admin Service and comment out the agent synchronizing the Top Results. This way, I would give all the management rights to the CM.

For more information:

So on the CM, I would have the following:

  <agent type="Coveo.SearchProvider.Agents.SynchronizeTopResults, Coveo.SearchProviderBase" method="Run" interval="00:01:00">

Is it the way you built your setup?


Ask a question