Gravatar for

Question by jfvalois, Apr 16, 2015 1:12 PM

Refresh index programmatically


We are trying to force a refresh on a item in the Coveowebindex. We try this ( ) and we are getting this error "Could not get pipeline: indexing.getDependencies (domain: )"

We change the index to specify the Coveowebindex instead of the "sitecoremasterindex" and specify the database name since providerIndex.Database; didn't exist ('Coveo.SearchProvider.IProviderIndex' does not contain a definition for 'Database')

Do we need to specify something or we can't do it on the web index? We have the february 2015 version.


1 Reply
Gravatar for

Answer by Jean-François L'Heureux, Apr 16, 2015 2:24 PM

IProviderIndex have the Database property since the March 2015 release of Coveo for Sitecore. I think this example was created with the March 2015 code instead of the February 2015 code.

For the pipeline issue, I see that you had another pipeline issue previously ( ).

Could it be possible that this instance was not on Sitecore 7.5 previously and that you upgraded it to Sitecore 7.5? Maybe some new configuration elements are missing in your config. You can run the ShowConfig.aspx page to check for the existence of the pipeline in your config.

Could it be possible that you installed a Coveo for Sitecore package that was not for Sitecore 7.5 (with 70, 71, 72 or 80 in the file name)?

Gravatar for

Comment by Jean-François L'Heureux, Apr 16, 2015 2:25 PM

The indexing.getDependencies pipeline is from the Sitecore.ContentSearch.config file in Sitecore 7.5. Do you have this file enabled?

Gravatar for

Comment by jfvalois, Apr 16, 2015 2:44 PM

This sitecore was upgrade to 7.5 . I don't know from which version, but i'll check with the team that did the upgrade. The Sitecore.ContentSearch.config was missing in my sitecore instance. I'll get it and retry the refresh.

We did installed the package for Coveo Sitecore 7.5.

Gravatar for

Comment by jfvalois, Apr 16, 2015 2:48 PM

It works!!!

Thanks again.

Ask a question