On Sat, May 23, 2015 at 1:29 PM, Troy Collinsworth
<troycollinswo...@gmail.com> wrote:
> While trying to query a multivalued String field for multiple values, when
> any one value matches the score is higher for the lower value and lower for
> the higher. I swapped the value order and it had no affect so it isn't
> positional. I want the score to be the same irrespective of the value
> matched. I also still want the score highest when both values match.

It's a bit cumbersome, but you can make each clause a constant score query.
http://yonik.com/solr/query-syntax/#ConstantScoreQuery

userIds:890^=1 userIds:931^=1
or I think the following should work as well:
userIds:(890^=1 931^=1)

-Yonik

Reply via email to