Gravatar for

Question by Simon, Jul 9, 2014 1:25 PM

Using QRE based on fields.

Using the JsUI, I want to boost the ranking of a certain field, not just an expression.

So for example, I have a brand of bike with product numbers. The product number is a field and I want to make sure that when a client search by number, the bike corresponding to that number is displayed first. Currently, if I search for the product number, the bike usually appears on the second page.


1 Reply
Gravatar for

Answer by Gregory Laporte, Jul 9, 2014 1:27 PM

You can use a unary field expression as your qre expression.

So you can try something like that:

$qre(expression:@bikenumber, modifier:'200')
Gravatar for

Comment by Alexandre Paré, Jul 9, 2014 1:35 PM

You do not have to put single quote around the field.

$qre(expression:'@bikenumber', modifier:'200')
Ask a question