On 4/3/2014 12:53 AM, santosh sidnal wrote:
> But my requirement is i want sorting to be applied and boost a
> particular/some attribute values (C,B etc) in the sorted result, which is
> not working. Looks like sorting will take precedence over boosting. Correct
> me if i am wrong.

If you use a sort parameter and that sort does not incorporate 'score'
at all, the relevancy score (and anything you have boosted) is
completely ignored.

https://cwiki.apache.org/confluence/display/solr/Common+Query+Parameters#CommonQueryParameters-ThesortParameter

Depending on exactly what your requirements are, query elevation might work.

https://cwiki.apache.org/confluence/display/solr/The+Query+Elevation+Component

Thanks,
Shawn

Reply via email to