Gravatar for audlin.subinal@accenture.com

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

Refresh for Coveo for Sitecore indexes

Hi,

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 slangevin@coveo.com

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.

Cheers,
Simon

Gravatar for audlin.subinal@accenture.com

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 slangevin@coveo.com

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>
  <CheckForThreshold>true</CheckForThreshold>
</strategy>
Gravatar for audlin.subinal@accenture.com

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 slangevin@coveo.com

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 jflheureux@coveo.com

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: https://community.sitecore.net/developers/f/8/t/1148

Ask a question