Gravatar for

Question by jpalbuja, Mar 11, 2016 12:18 PM

CM and CD Coveo installation, on publish the items are not get indexed into the Pub index

Hi everyone, I did a setup following this link

My pub database name is "weblive". So from Sitecore if I publish from Sitecore, the item is get indexed into master, web, but not to my weblive database. This is something strange because I followed the steps from the link. Also If I re-index the web index, the the item appears there, so I am getting this issue when I publish.

I am using the following versions :

  • Coveo Enterprise Search 7.0 x64 (7914) for Sitecore
  • Coveo for Sitecore 80 3.0 (1123)
  • Coveo Search API 8.0.772 (Notice that we are using the LinQ Coveo Queries)
  • Sitecore version: 8.0 (rev. 150812)



1 Reply
Gravatar for

Answer by Luc Bergeron, Mar 11, 2016 1:37 PM


The first thing to check would be the publishing target. By default Sitecore has only one publishing target configured: Internet. This publishing target publishes items only in the web database. Since you added the weblive database, then you should define another publishing target to actually publish the items from one database to the weblive database. This is well documented in Sitecore's scaling guide.

So, assuming the publishing target is correct, the next thing to check would be the weblive search index configuration. Make sure the search index crawler is configured to use the weblive database. Also, assuming you are looking at the CM configuration, the weblive search index should use the same strategy as the web index.

Did you try to rebuild the weblive index (from Sitecore's Indexing Manager)? Do the search index contain any documents after the rebuild? Does it contain the items from the web database instead of weblive?

I hope this helps

Gravatar for

Comment by jpalbuja, Mar 11, 2016 1:55 PM

Thanks @lbergeron, yes actually all this is set and when I rebuild using Sitecore Indexing Manager all gets indexed correctly, but the problem is just when publishing to the Weblive target. Just in case this is the configuration that I have for the index:

<index id="project_weblive_index" type="Coveo.SearchProvider.ProviderIndex, Coveo.SearchProvider">
  <param desc="p_Name">$(id)</param>
  <locations hint="list:AddCrawler">
    <crawler type="Coveo.SearchProvider.CoveoItemCrawler, Coveo.SearchProviderBase">
  <strategies hint="list:AddStrategy">
    <strategy type="Sitecore.ContentSearch.Maintenance.Strategies.OnPublishEndAsynchronousStrategy, Sitecore.ContentSearch">
      <param desc="database">weblive</param>
  <propertyStore type="Sitecore.ContentSearch.Maintenance.IndexDatabasePropertyStore, Sitecore.ContentSearch">

Also in the database weblive I see that the item gets published correctly but it do not gets indexed by Coveo.


Gravatar for

Comment by jpalbuja, Mar 11, 2016 3:35 PM

Any other idea @lbergeron

Gravatar for

Comment by Luc Bergeron, Mar 15, 2016 8:53 AM

The index configuration seems to be correct indeed.

Is there any error reported in Sitecore's logs? Is there any inbound filter that could exclude items from the project_weblive_index from being indexed?

If you open the CES Admin Tool, can you see a source that corresponds to the project_weblive_index search index?

Ask a question