Gravatar for

Question by audlin, Dec 10, 2015 2:56 PM

Refresh for Coveo for Sitecore indexes


Where is the refresh for the coveo for Sitecore Index configured? Is it the refresh schedule on the CES Admin tool? Is there a config in the Sitecore website?

Does setting incremental refresh take care of the coveo for sitecore index as well?

If I have to disable indexing Should I guess I have to do it on the CES Admin tool by disabling the refresh schedule. Is there any other way? Does the web.config setting Indexing.UpdateInterval Indexing.Enabled in Sitecore applies to Coveo for Sitecre Index as well?

Regards, Audlin

1 Reply
Gravatar for

Answer by Simon, Dec 10, 2015 4:04 PM

Hi Audlin,

Coveo for Sitecore uses live indexing, so setting up Incremental Refresh as no effect.

By default, the index section of the CoveoSearchProvider.config file will set a Synchronous strategy for Master/Core indexes and On-Publish Asynchronous for Web, I would suggest to keep it that way.


Gravatar for

Comment by audlin, Dec 10, 2015 4:10 PM

That answers a lot of things. Thanks Simon. So Does that mean there is no way I can disable the refresh of index. We want to disable index when we run huge imports for performance reasons.

Gravatar for

Comment by Simon, Dec 10, 2015 4:15 PM

Well Live monitoring does not trigger a full re-index, unless you manually trigger it in the Control Panel. Still, the clean way to disable indexing would be to comment out the strategy section of each of your indexes, ex:

<strategy type="Sitecore.ContentSearch.Maintenance.Strategies.OnPublishEndAsynchronousStrategy, Sitecore.ContentSearch">
  <param desc="database">web</param>
Gravatar for

Comment by audlin, Dec 10, 2015 4:25 PM

Thanks a lot Simon :) Well I just noticed that I can disable live monitoring in the CES Admin tool

Gravatar for

Comment by Simon, Dec 10, 2015 5:19 PM

Yes but be careful with this solution! Sitecore will still push everything to RabbitMQ, which might inflate and grab all the space on the server. Commenting out the strategies is a better approach since it will simply stop the indexing call.

Gravatar for

Comment by Jean-François L'Heureux, Dec 11, 2015 10:12 AM

Hi Audlin,

I do not recommend disabling Coveo sources live monitorig or removing the Sitecore indexes strategies.

When running imports of Sitecore items, it is recommended to use a BulkUpdateContext for Sitecore to run the indexing only at the end of the import as discussed in the Sitecore Community:

Ask a question