Using Coveo UI's SearchView.cshtml
, Is there a way in Coveo to pin external items into results list in certain order?
Basically I am trying to insert ads between search results list. I have n
no. of ads that need to go between every 4 non-ad result item.
Any pointers on the best approach to this?
Update: I am trying to use CoveoProcessParsedRestResponseArgs
to insert ads into the ResultsRespnse
object. The challenge I see is, it does not give me the search result page or firstResultIndex
in the response to accurately insert ads on subsequent pages. Is there any other pipeline processor that I need to use?