Solr sort after boost?

Viewed 2996

Is it possible to put boosted fields in front of other if its already sorted?

I have products that are sorted by popular ASC (its integer), but there are some specific products that I want to boost in front of other products, no matter what value is popular.

I am new with Solr, and I have got so far that I need to use edismax, right? But I dont exactly understand how it works, I always get popular products sorted first.

I have following query params:

"sort": "popular ASC",
"bq": "(product_id: 123)^100",
4 Answers
"sort": "popular ASC",
"bq": "(product_id: 123)^100",

Convert this to this:

"sort": "score desc, popular ASC",
"bq": "(product_id: 123)^100",
Related