Gravatar for mjensen@habaneroconsulting.com

Question by Mike Jensen, Feb 24, 2015 5:55 PM

Top Results - is there a query/format that works with Sitecore to accept any version in the web database?

Hi there,

When you create a Top Result via the Add Top Result action in the Index Browser, you get following URI for the Address:

sitecore://database/web/ItemId/{25CF9B94-337F-49B5-B36F-AD601AF19D35}/Language/en/Version/1

This works great until a new version of that page is published (and only version 2 resides in the web database), at which time the top result no longer works. Is there a different query/syntax we can use to not care about the version since the web database only contains a single version?

Thanks in advance. Mike

2 Replies
Gravatar for jflheureux@coveo.com

Answer by Jean-François L'Heureux, Feb 25, 2015 8:31 AM

Unfortunately, there's no workaround for the moment. We're currently evaluating solutions to manage the top results from Sitecore. Except the item version, would you like to have any other feature in the solution? Your feedback would help us to shape the final solution.

Gravatar for mjensen@habaneroconsulting.com

Comment by Mike Jensen, Feb 26, 2015 4:47 PM

Thanks for reply.

I believe it has already been posted in another thread, but it would be nice if the author could manage a simple list of items in Sitecore, where they list the keywords, along with the top result item(s) from the content tree and the top results should work in all databases (master, web, and any other publishing targets).

Gravatar for slangevin@coveo.com

Answer by Simon, Feb 25, 2015 9:48 AM

As JF said, top results are indeed not fully supported in Sitecore. If you are using Coveo for Sitecore, I would propose to use Boosting: https://developers.coveo.com/display/public/SC201502/Leveraging+Sitecore+Boosting+Capabilities

For all other integrations, you could also use QRE: https://developers.coveo.com/display/public/JsSearch/Using+Query+Ranking+Expressions

Cheers, Simon

Gravatar for mjensen@habaneroconsulting.com

Comment by Mike Jensen, Feb 26, 2015 4:49 PM

Thanks for the reply Simon. We may end up leveraging the boosting option to elevate the relevancy of certain items.

Ask a question