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 <g...@mimirtech.com>
> wrote:
> 
> > On 18 June 2013 10:49, Joe Zhang <smartag...@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
> >

Reply via email to