Boosting results using QRE
I am currently using QRE to boost my search results and it had noticeable improvements on the relevance so far. At first i was using a single QRE line to help get better results if i search a particular author.
However i'd also like to give extra point to the article who are the most recent. I am using the following code :
var qre = createQre('@Model.ToCoveoFieldName("csmgarticleauthorname")=="' + searchText + '"', "100"); var qre2 = createQre('@sysdate>=DateTime.Now.Year/01/01', "70");
Is it possible to configure that sysdate impact and frequency impact are comparable? Is it possible to make sysdate weight much higher?
Thank you !
I'm not sure whether it will completely answer your question, but I'm trying anyway. When defining QRE you can set a weight above 100 points. You could set it to 1000 or even higher if it suits you better. However, when setting a weight above 100, your QRE will most likely override the ranking logic implemented in CES. Sometimes, that could be what you want. It depends on your use case.
I would suggest to tweak the weights of your two QRE, but trying to keep the weight below 100 as much as possible.
I hope this helps