Does nutch provide a boost value for a document? Can you intercept that?

I can't see how length normalisation would be zero. Even a very long
field would have a non-zero value.

You can also add omitNorms to a field. A hack that avoids fixing the
true cause and prevents field length normalisation in your scoring, but
may be better than a zero score in the meantime!

Upayavira 

On Sat, Jun 22, 2013, at 05:21 AM, Joe Zhang wrote:
> So, the reason is taht I'm getting zero values on FieldNorm.
> documentation
> tells me that there are 3 factors in play here:
> 
> - LengthNorm --> can this be zero?
> - index-time boost --> is this the boost value we get from nutch?
> - field-boost --> none specified.
> 
> Can somebody help here?
> 
> 
> On Tue, Jun 18, 2013 at 7:22 AM, Upayavira <u...@odoko.co.uk> wrote:
> 
> > 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