You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Furkan KAMACI <fu...@gmail.com> on 2013/05/09 23:15:40 UTC

SolrCloud Sorting Results By Relevance

When I make a search at Solr 4.2.1 that runs as SolrCloud I get:

<result name="response" numFound="18720" start="0" maxScore="1.2672108">

First one has that boost:

<float name="boost">
1.3693064
</float>

Second one has that:

<float name="boost">
1.7501166
</float>

and third one:

<float name="boost">
1.0387472
</float>

Here is default schema for Nutch:
http://svn.apache.org/viewvc/nutch/tags/release-2.1/conf/schema-solr4.xml?revision=1388536&view=markup

Do I miss something or result are already sorted by relevance by Solr?

Re: SolrCloud Sorting Results By Relevance

Posted by Otis Gospodnetic <ot...@gmail.com>.
Hits are sorted by relevance score by default. You are listing boost.

Otis
Solr & ElasticSearch Support
http://sematext.com/
On May 9, 2013 5:16 PM, "Furkan KAMACI" <fu...@gmail.com> wrote:

> When I make a search at Solr 4.2.1 that runs as SolrCloud I get:
>
> <result name="response" numFound="18720" start="0" maxScore="1.2672108">
>
> First one has that boost:
>
> <float name="boost">
> 1.3693064
> </float>
>
> Second one has that:
>
> <float name="boost">
> 1.7501166
> </float>
>
> and third one:
>
> <float name="boost">
> 1.0387472
> </float>
>
> Here is default schema for Nutch:
>
> http://svn.apache.org/viewvc/nutch/tags/release-2.1/conf/schema-solr4.xml?revision=1388536&view=markup
>
> Do I miss something or result are already sorted by relevance by Solr?
>