Refresh index programmatically
We are trying to force a refresh on a item in the Coveowebindex. We try this ( https://developers.coveo.com/display/public/SC201502/Refreshing+or+Rebuilding+a+Search+Index+Programmatically ) 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.
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 ( https://answers.coveo.com/questions/2675/error-on-loading-default-search-page ).
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)?