Gravatar for

Question by Gordon Kessler, Apr 12, 2019 7:45 PM

How can I add a QRF to a query pipeline

I have articles in my result set that have a "publishdate" date field on them and I want to boost those articles based on most recent publish date. Is there a way to put a QRF in the query pipeline via the Coveo Cloud Platform? Here is the QRF that I'm trying to use:
$qrf(expression:'@publishdate', normalizeWeight: 'True')

1 Reply
Gravatar for

Answer by amoreau, Apr 12, 2019 8:27 PM

You can add your QRF in the query parameters of your query pipeline.

For more information, see .

Let me know if this helped!

- Alex

Gravatar for

Comment by Gordon Kessler, Apr 18, 2019 3:06 PM

Thanks for your response Alex. That would work, but the search interface developers are already sending aq and cq parameters to Coveo and I don't want to overwrite those parameters, simply add another.

Unless you know of another way to accomplish this without involving the developers, I'll mark this answer as complete and I'll go to the interface developers to have them implement the QRF.

Ask a question