Clickable URI has spaces replaced with dashes
Whenever i rebuild my index, the Clickable URI of my items has spaces replaced with dashes. This is problematic since the link to the item 404s because the sitecore item name does not contain dashes. Is this expected behavior? I will note that at one point we were using an encodeNameReplacement to replace " " with "-". However, this setting has long since been removed. I've restarted the Coveo services, rebuilt my indexes but still, the Clickable URI has spaces replaced with dashes. Am I missing something?
Are you in Coveo for Sitecore? Or with another source? We would need more details about your setup… If you're in Coveo for Sitecore, i already saw this behavior, it was because of an encodeNameReplacement indeed. If you do a showconfig.aspx on your sitecore source, what is your encodeNameReplacement's looking like?
As a workaround, you could code a really small CoveoPostItemProcessingPipeline (see Using the Coveo Pipelines) where you have access to the coveo item before it is indexed. You could do something like :
p_Args.CoveoItem.ClickableUri = p_Args.CoveoItem.ClickableUri.Replace("-", " ");