Invoke QRE only when certain terms are searched?
I am struggling to write an expression that helps solve the following use case:
The user searches for "pants" - I would like for any item with "pants" in the title to be boosted by a modifier of 50. I assume this should look something like:
&qre(expression:@systitle=pants AND [the term the user searched for]==pants, modifier:'50')
Is this kind of expression possible?
The @systitle field is already searched in and boost automatically by CES when ranking results. You can adjust the global ranking weight of search terms found in the title of documents in the CES Admin Tool (Index > Ranking > Ranking Weights > Term in title) (see Understanding Search Results Ranking and Customizing Search Results Ranking).