How do we force index update - how to force update clickUri
Even though I changed the Sitecore site definition item and changed the hostname, I still see the old hostname in search results even after doing full republish, full reindexing.
Do you think the item is cached? Any way to clear cache or force Coveo update it's index for this item?
I tried full rebuild index as well as "reindex tree" for the specific item
Thank you for the answers to my questions.
You are using an old release of Coveo for Sitecore (December 2014). At this time, when indexing an item, we were just getting the item URL from the Sitecore LinkManager without passing a SiteContext.
In newer releases of Coveo for Sitecore, things changed a lot to support multi-sites in Sitecore. We are now finding the first site where the item is included and use this SiteContext when calling the Sitecore LinkManager. With this change, indexed URL hostnames are better in general.
But if an item is included in more than one site, it is indexed only once with the first site hostname. To address that issue, we introduced a
coveoProcessParsedRestResponse pipeline processor in the July 2015 release of Coveo for Sitecore to automatically resolve the URL of the search results at query time based on the current request's site (see Using the Sitecore LinkManager to Resolve URIs in a Coveo Search Page).
My recommendation is to upgrade to the July 2015 or newer release of Coveo for Sitecore.