Gravatar for shirazi@rdacorp.com

Question by aga, Oct 12, 2015 4:43 PM

Facet Response Processor

Hi,

I'm using Coveo for Sitecore, I was wondering if there's a processor that services the response to the facets? As example, we can use the coveoProcessParsedRestResponse to add or change the field values before the search results are sent back to the JS UI.

I'm looking for a way to modify the facet values before they are sent to the JS UI.

Thanks

2 Replies
Gravatar for jflheureux@coveo.com

Answer by Jean-François L'Heureux, Oct 14, 2015 9:33 AM

Hi,

The coveoProcessParsedRestResponse also allows to modify the facet values. They are in the CoveoProcessParsedRestResponseArgs.ResponseContent.GroupByResults property of the processor arguments.

Jeff

Gravatar for shirazi@rdacorp.com

Comment by aga, Oct 14, 2015 9:46 AM

Thanks jeff

Gravatar for slangevin@coveo.com

Answer by Simon, Oct 12, 2015 4:49 PM

This might be what you are looking for: https://answers.coveo.com/questions/2941/default-value-of-a-facet-when-loading-the-search-page

In which case it won't be a processor but simply a JavaScript call on page load.

Hope it helps,
Simon

Ask a question