lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gora Mohanty <g...@mimirtech.com>
Subject Re: Sorting solr search results using multiple fields
Date Wed, 22 May 2013 13:09:09 GMT
On 22 May 2013 18:26, Rohan Thakur <rohan.iitd@gmail.com> wrote:
> hi all
>
> I wanted to know is there a way I can sort the my documents based on 3
> fields
> I have fields like pop(which is basically frequency of the term searched
> history) and autosug(auto suggested words) and initial_boost(copy field of
> autosug such that only match with initial term match having
> whole sentence saved as one token)
[...]

You seem to be confusing boosting with sorting. If you
sort the results, the boosts are irrelevant.

You can sort on multiple fields by separating them by
commas, as described under
http://wiki.apache.org/solr/CommonQueryParameters#sort

Regards,
Gora

Mime
View raw message