Gravatar for

Question by Diego, Jan 9, 2015 5:34 PM

Coveo for sitecore wont show the same results as the admin tool

I have coveo for sitecore on an instance here which I indexed one sitecore item that has the label "Coveo". When I search on the index in the admin tool I do get that one result. This is the expected behavior On my sitecore instance the I get several results for the same query. On my search sublayout configuration I have not set any rules what so ever so this should be what´s out of the box. Any ideas on why that would happen?

Gravatar for

Comment by Jean-François L'Heureux, Jan 9, 2015 5:53 PM

What is the query you enter in the Index Browser and in your Coveo for Sitecore search page? Can you also give an example of the other results returned in the Coveo for Sitecore search page please?

If it is too big for the comment box, please edit your original question with that information instead of adding an answer.

Thank you.

Gravatar for

Comment by Diego, Jan 12, 2015 7:54 AM

I search for the word "Coveo". This word only appears in one test item I created ok? But on the web interface it shows a bunch of othre items which don´t have that word on them.

3 Replies
Gravatar for

Answer by Jean-François L'Heureux, Jan 12, 2015 9:47 AM

I may have another explanation for the other results you see that seems unrelated to the "Coveo" search term. All indexed Coveo documents have the @sysuri field and most of them have the @sysprintableuri field. These URI fields are free-text enabled and contain the name of the Coveo source by default. Coveo sources default names are "sitecoremasterindex - Hostname-InstanceName" for the master database, "Coveowebindex - Hostname-InstanceName" for the Web database and "Coveocoreindex - Hostname-InstanceName" for the Core database.

Therefore, with the default source names, searching for "Coveo" in a published search page will return all the indexed documents of the "Coveowebindex - Hostname-InstanceName" Coveo source because all of them have the "Coveo" term in their @sysuri or @sysprintableuri fields.

I suggest you try with another search term than "Coveo", "Sitecore", "Index", "Web", "Core", or "Master" to see if the behavior is the same.

Gravatar for

Answer by Simon, Jan 9, 2015 5:36 PM

When you search on the index browser, do you search on the entire index or on one particular source? Sitecore web for example?

With no rules, your search interface might be returning results from several DBs and versions.

Gravatar for

Comment by Diego, Jan 9, 2015 5:39 PM

on index browser I'm searching on a specific index so the search interface where does it search by default? the whole web index? is there any other source that gets pulled as well when there is no rules?

Gravatar for

Answer by Jean-François L'Heureux, Jan 12, 2015 9:16 AM

When you search in your Coveo for Sitecore search page, do you search from the Page Editor, Preview Mode or the published search page? Searching from the Page Editor or the Preview Mode will query the Master index while searching from the published search page will query the Web index.

It's normal that there is many results containing "Coveo" in the Master index because it's in this database that Coveo for Sitecore items are installed. Even the Web index should have some Coveo for Sitecore items for the UI components.

Ask a question