Gravatar for wvuong@captechconsulting.com

Question by wvuong, Apr 3, 2017 8:57 PM

ClickUri Is relative

I'm trying to get a control on how the ClickUri is generated. Based on all the documentation I've seen the clickUri should be a fully qualified url, but my clickUri is a relative url. This is the case regardless of if I have the hostName attribute set for the site definition and if I have the serverUrl set in the Coveo config file.

Is there another setting that the clickUri uses to get the host?

1 Reply
Gravatar for sbelzile@coveo.com

Answer by Sébastien Belzile, Apr 4, 2017 7:49 PM

Please, try to mention the product that you use in the question. I think you use Coveo for Sitecore, right?

If you run a simple search on the developer site, you should find these 2 articles: 1 and 2.

Basically, there are 2 computation steps: at indexing time, and at query time.

Indexing time is explained in article 1. These are the URLs that you will see in the index browser.

Query time is explained in article 2: Coveo uses the Sitecore Link Manager to resolve the URIs in the context of the site they are being viewed in. This is why you see relative URLs in your search page.

> Is there another setting that the clickUri uses to get the host?
Coveo uses your Sitecore LinkManager settings.

Ask a question