Gravatar for shirazi@rdacorp.com

Question by aga, Sep 6, 2016 1:52 PM

Missing Suggested Results

Hi

I have a standalone search box that is available on all pages of my site. I've also added the omnibox results provider so when i enter text I get the Suggested Results that link directly to the result item. This all works well, unless if I try the same thing on the my search page. For some reason, when I'm on the search page, the omnibox contains matches to the facets, but it doesnt have any of the Suggested Results.

Any clues why this would happen?

FYI, this is for coveo for sitecore.

Thanks

Gravatar for sbelzile@coveo.com

Comment by Sébastien Belzile, Sep 6, 2016 2:19 PM

Which version of C4SC are you using?

Which documentation did you use to add your omnibox result list to your search page?

This component has been fronted with the Coveo Searchbox only: some customization is obviously required to get that to work on the search page.

Gravatar for shirazi@rdacorp.com

Comment by aga, Sep 6, 2016 3:19 PM

Coveo for Sitecore 80 3.0 (1123)

https://developers.coveo.com/display/public/SitecoreV3/Provide+Result+Suggestions

Do you know what customization is required for it to work on the search page?

Gravatar for sbelzile@coveo.com

Comment by Sébastien Belzile, Sep 9, 2016 8:12 AM

OK!, you are trying to add the JS UI component, not the C4SC one. The code sample should do it. This version is quite old: I cannot recall if we had issues with this component.

Usually, what I would do is remove the facets from the omnibox (deactivate the option from the Coveo facet component properties), see if something comes up.

If this does not work, replace the minified version of the JS Search framework by the non-minified one, and try debugging the code to see what goes wrong.

Are the suggestions rendered on the page?

Is there any JS exception?

Are there results returned from the query launched by the component?

0 Reply
Ask a question