Evan Gertis
Evan Gertis

Reputation: 2062

Solr boost and the sort

I have been researching methods for applying a boost parameter to my solr queries and I have a problem. The issue is that I originally implemented my query with a default sort and now I want to boost a specific property. I have read that I can use something called an elevator, but the discussion was from 4 years ago. It would be a lot of work to change my configurations to elevator. The URL that I am working with is:

q=("Crystal"~4)(*Crystal*)&start=0&rows=24&fq=department:(eyeglasses)&fq=status:(active)&facet=true&facet.field=gender&facet.field=department&facet.field=color&facet.field=frame_shape&facet.field=frame_material&facet.field=face_shape&facet.limit=-1&indent=on&!type=edismax&bq=name(Sullivan)&sort=has_images+desc%2cseller_rank+asc%2cin_stock+desc%2cbrand_rank+asc%2cname+desc&version=2.2&wt=json

I am trying to boost bq=name:(Sullivan) and sort sort=has_images+desc%2cseller_rank+asc%2cin_stock+desc%2cbrand_rank+asc%2cname+desc.

The problem is the sort takes priority and my boost doesn't affect the results. Perhaps someone else has encountered this problem.

Upvotes: 0

Views: 170

Answers (0)

Related Questions