Hello Jack,

I know it's not the best example, but I just wanted to see the score field 
"printed out"... :)

Francesco

-----Original Message-----
From: Jack Krupansky [mailto:j...@basetechnology.com] 
Sent: Mittwoch, 16. April 2014 14:32
To: solr-user@lucene.apache.org
Subject: Re: Show the score in the search result

Also, "*:*" is a constant score query, so the score will always be 1.0. Not a 
terribly good example to request the score.

Please provide the Solr query response, with the debug=true parameter so we can 
see for ourselves that no score is returned.

-- Jack Krupansky

-----Original Message-----
From: Erick Erickson
Sent: Wednesday, April 16, 2014 8:00 AM
To: solr-user@lucene.apache.org
Subject: Re: Show the score in the search result

What version of Solr? Works fine for me.

Best,
Erick

On Wed, Apr 16, 2014 at 6:38 AM, Croci  Francesco Luigi (ID SWS) 
<fcr...@id.ethz.ch> wrote:
> I read that if I add the string "score" in the fl field, I should be 
> able to see the score within the retuned documents.
>
> As I understand "score" is a "special/reserved" word and I don't have 
> to define in the schema (right)?
>
> I did so, but in the returned fields' list I see no score field...
>
> Here is the request's URL: 
> http://localhost:7001/solr/collection1/select?q=*%3A*&fl=*%2Cscore&wt=
> json&indent=true
>
> Do I miss something?
>
> Francesco

Reply via email to