Gravatar for ahmedokour86@gmail.com

Question by aokour, Nov 3, 2014 12:52 PM

Changing @syssource to point to 'Coveo_web_index' rather than 'Sitecore_master_index'

Hi, I'm using Sitecore for coveo (Free version), on search page i can see the post request that @syssource= 'Sitecoremasterindex' , which contains 'Master' database items, i want it to point 'Coveowebindex'. Any thoughts?

2 Replies
Gravatar for jflheureux@coveo.com

Answer by Jean-François L'Heureux, Nov 3, 2014 12:56 PM

The source is dependent of the context where you view the page. Viewing the page in the Page Editor or Preview mode uses the Master source. Viewing the page on the published website uses the Web source.

Gravatar for ahmedokour86@gmail.com

Comment by aokour, Nov 3, 2014 1:02 PM

I'm viewing this in published website, i even opened incognito window just to make sure, and it still uses master source

Gravatar for jflheureux@coveo.com

Comment by Jean-François L'Heureux, Nov 3, 2014 1:12 PM

How is your website configured in the Web.config file? It is supposed to have the web database. It if has master, Coveo will also user the Master source.

<site name="website" database="web" />

Gravatar for ahmedokour86@gmail.com

Comment by aokour, Nov 3, 2014 2:33 PM

That was it! my bad, but good to know that Thanks

Gravatar for slangevin@coveo.com

Answer by Simon, Nov 3, 2014 1:16 PM

Coveo is simply calling the db set on your website. Have you added master in your site node of your web.config?

This is a default setup found on SDN:

site
name="website"
virtualFolder="/"
physicalFolder="/"
rootPath="/sitecore/content"
startItem="/home"
language="en"
database="web"
domain="extranet"
allowDebug="true"
cacheHtml="true"

Gravatar for ahmedokour86@gmail.com

Comment by aokour, Nov 3, 2014 2:35 PM

@jflheureux already gave me the same answer, but i can't accept two answers, but your answer still valid. Thanks!

Ask a question