lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Upayavira ...@odoko.co.uk>
Subject Re: what does a zero score mean?
Date Tue, 18 Jun 2013 14:22:14 GMT
debugQuery=true adds an extra block of XML to the bottom that will give
you extra info.

Alternatively, add fl=*,[explain] to your URL. That'll give you an extra
field in your output. Then, view the source to see it structured
properly.

Upayavira

On Tue, Jun 18, 2013, at 02:52 PM, Joe Zhang wrote:
> I did include "debugQuery=on" in the query, but nothing extra showed up
> in
> the response.
> 
> 
> On Mon, Jun 17, 2013 at 10:29 PM, Gora Mohanty <gora@mimirtech.com>
> wrote:
> 
> > On 18 June 2013 10:49, Joe Zhang <smartagent@gmail.com> wrote:
> > > I issued a simple query ("apple") to my collection and got 201 documents
> > > back, all of which are scored 0. What does this mean? --- The documents
> > do
> > > contain the query words.
> >
> > My guess is that the float-valued score is getting
> > converted to an integer. You could also try your
> > query with the parameter &debugQuery=on
> > to get an explanation of the scoring:
> > http://wiki.apache.org/solr/CommonQueryParameters#debugQuery
> >
> > Regards,
> > Gora
> >

Mime
View raw message