Re: Negative or zero value for fieldNorm

2010-11-04 Thread Markus Jelsma
On Thursday 04 November 2010 15:12:23 Yonik Seeley wrote: > On Thu, Nov 4, 2010 at 9:51 AM, Markus Jelsma > > wrote: > > I've done some testing with the example docs and it behaves similar when > > there is a zero doc boost. Luke, however, does not show me the > > index-time boosts. > > Remember

Re: Negative or zero value for fieldNorm

2010-11-04 Thread Yonik Seeley
On Thu, Nov 4, 2010 at 9:51 AM, Markus Jelsma wrote: > I've done some testing with the example docs and it behaves similar when there > is a zero doc boost. Luke, however, does not show me the index-time boosts. Remember that the norm is a product of the length norm and the index time boost... it

Re: Negative or zero value for fieldNorm

2010-11-04 Thread Markus Jelsma
I've done some testing with the example docs and it behaves similar when there is a zero doc boost. Luke, however, does not show me the index-time boosts. Bost document and field boosts are not visible in Luke's output. I've changed doc boost and field boosts for the mp500.xml document but all i

Re: Negative or zero value for fieldNorm

2010-11-04 Thread Yonik Seeley
On Thu, Nov 4, 2010 at 8:04 AM, Markus Jelsma wrote: > The question remains, why does the title field return a fieldNorm=0 for many > queries? Because the index-time boost was set to 0 when the doc was indexed. I can't say how that happened... look to your indexing code. > And a subquestion, do

Re: Negative or zero value for fieldNorm

2010-11-04 Thread Markus Jelsma
Hi, I've worked around the issue by setting omitNorms=true on the title field. Now all fieldNorm values are 1.0f and therefore do not mess up my scores anymore. This, of course, is hardly a solution even though i currently do not use index-time boosts on any field. The question remains, why do

Re: Negative or zero value for fieldNorm

2010-11-03 Thread Markus Jelsma
> Regarding "Negative or zero value for fieldNorm", I don't see any > negative fieldNorms here... just very small positive ones? Of course, you're right. The E-# got twisted in my mind and became negative. Silly me. > Anyway the fieldNorm is the product of the lengthNorm and the > index-time bo

Re: Negative or zero value for fieldNorm

2010-11-03 Thread Yonik Seeley
Regarding "Negative or zero value for fieldNorm", I don't see any negative fieldNorms here... just very small positive ones? Anyway the fieldNorm is the product of the lengthNorm and the index-time boost of the field (which is itself the product of the index time boost on the document and the inde