Hi,

By default solr is using the sort parameter over the "score field". So if
you overwrite it using other sort field, yes solr will use the parameter
you've provided. Remember, you can use multiple fields for
sorting<http://wiki.apache.org/solr/CommonQueryParameters#sort> so
you can make something like: sort score desc, your_field1 asc, your_field2
desc....

The score of documents is calculated on every query (it does not depend on
the sort parameter or the debugQueryParameter) and the debubQuery is only a
mechanism for showing (or hidding) how score was calculated. If you want to
see a document score for a particular query (apart from the debugQuery) you
can ask for it in the solr response adding the parameter *fl=*,score* to
your request.

Regards.




On Fri, Apr 4, 2014 at 4:42 AM, Shawn Heisey <s...@elyograg.org> wrote:

> If I provide a sort parameter, will Solr (4.6.1) skip score/boost
> processing?
>
> In particular I would like to know what happens if I have a boost
> parameter (with a complex function) for edismax search, but I include a
> sort parameter on one of my fields.  I am using distributed search.
>
> I do know that if debugQuery is used, the score IS calculated, but I'm
> talking about when debugQuery is not used.
>
> Thanks,
> Shawn
>
>

Reply via email to