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
Answer by Jean-François L'Heureux · Oct 14, 2015 at 09: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
Answer by Simon · Oct 12, 2015 at 04: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