Gravatar for dnull@rightpoint.com

Question by null, Jul 23, 2015 2:13 PM

Coveo for Sitecore Search View Filtering

I have Coveo for Sitecore Free Edition running on Sitecore 8 and am having a hard time understanding proper use of the built-in Coveo renderings.

I added a Coveo Search Page (MVC) to my Content tree and published. Works great.

Now I want to restrict the search results to a specific template type. Call it "My Custom Page".

So I go into Presentation Details for my search page to edit the properties of the Coveo Search View rendering. And update the Filtering expression rules to the following:

Basic filtering
where the item template is exactly My Custom Page

I save the page, Publish Site, refresh the search page… Filter isn't applied. It shows all results rather than only results of type My Custom Page.

Am I missing a step? Do I need to configure the template ID field for faceting? Something else?

Thank you

1 Reply
Gravatar for sbelzile@coveo.com

Answer by Sébastien Belzile, Jul 23, 2015 6:45 PM

Hi,

The Rule Editor is disabled in the free edition of Coveo for Sitecore. You can use the JsSearch Framework : https://developers.coveo.com/display/public/JsSearch/Home to filter the search results.

This page explains how to add filter and boosting rules using with the free edition : https://developers.coveo.com/display/public/SC201507/Adding+Filter+and+Boost+Expressions+Programmatically

Gravatar for dnull@rightpoint.com

Comment by null, Jul 23, 2015 6:49 PM

Thanks. Do you know if it is enabled if we are signed up for the Free Edition Gold support plan?

Gravatar for dnull@rightpoint.com

Comment by null, Jul 23, 2015 6:51 PM

P.S. The following link has relevant info: http://reyrahadian.com/2015/04/20/sitecore-coveo-free-edition-using-rules-engine-to-filter-result

Gravatar for sbelzile@coveo.com

Comment by Sébastien Belzile, Jul 23, 2015 8:57 PM

No, the Gold support adds the following features:

  1. External Content Indexing
  2. Usage Analytics

With the free edition, I recommend implementing filtering as explained in the link I provided. You may struggle implementing the content of the blog post you mentionned since part of it is now obsolete. Furthermore, using the JS Framework is supported by Coveo and is not subject to much change, as oppose to the content of the post, that may easily be broken or stop working with subsequent updates.

Gravatar for dnull@rightpoint.com

Comment by null, Jul 24, 2015 12:28 PM

That answers it then. Thank you!

Ask a question