Expression used:
$qre(expression:'@llanguagecode==("en") OR @llanguagecountrycode==("en")', modifier:-100)
Error I get is :
"[12.86] failure: `)' expected but `-' found"
This works:
$qre(expression:'@llanguagecode==("en") OR @llanguagecountrycode==("en")', modifier:100)
Am I missing something?
Answer by Gregory Laporte · Jun 25, 2014 at 05:22 PM
Have you tried using the following?: $qre(expression:'@llanguagecode==("en") OR @llanguagecountrycode==("en")', modifier:'-100')
Still a bug, I've filed #47094 for that. I'll have a look soon.
Note that the score can't be negative so if two result have 30 and 25 as score, they will have the same rank at 0.