Re: Changing field lengthnorm to store length

2014-06-19 Thread Nalini Kartha
use a different data type for the statistics value. The norms in > >> >> Lucene are already internally handled as docvalues fields, too. > >> >> > >> >> On the other hand, if you want to modify the lengthNorm and you use a > >> >> non-float value, y

Re: Changing field lengthnorm to store length

2014-06-19 Thread Robert Muir
ity. The default uses a very lossy float->1byte >> >> transformation. >> >> >> >> Uwe >> >> >> >> - >> >> Uwe Schindler >> >> H.-H.-Meier-Allee 63, D-28213 Bremen >> >> http://www.thetaphi.de >> >&

Re: Changing field lengthnorm to store length

2014-06-19 Thread Nalini Kartha
gt; >> - > >> Uwe Schindler > >> H.-H.-Meier-Allee 63, D-28213 Bremen > >> http://www.thetaphi.de > >> eMail: u...@thetaphi.de > >> > >> > >> > -Original Message- > >> > From: Nalini Kartha [mailto:nalinikar...@gm

Re: Changing field lengthnorm to store length

2014-06-19 Thread Robert Muir
>> > -Original Message- >> > From: Nalini Kartha [mailto:nalinikar...@gmail.com] >> > Sent: Thursday, June 19, 2014 7:14 PM >> > To: java-user@lucene.apache.org >> > Subject: Changing field lengthnorm to store length >> > >> > Hi, &g

Re: Changing field lengthnorm to store length

2014-06-19 Thread Nalini Kartha
age- > > From: Nalini Kartha [mailto:nalinikar...@gmail.com] > > Sent: Thursday, June 19, 2014 7:14 PM > > To: java-user@lucene.apache.org > > Subject: Changing field lengthnorm to store length > > > > Hi, > > > > We're interested in having ac

RE: Changing field lengthnorm to store length

2014-06-19 Thread Uwe Schindler
e 19, 2014 7:14 PM > To: java-user@lucene.apache.org > Subject: Changing field lengthnorm to store length > > Hi, > > We're interested in having access to the number of terms in the fields for a > document vs the pre-calculated lengthnorm at scoring time - we want

Changing field lengthnorm to store length

2014-06-19 Thread Nalini Kartha
Hi, We're interested in having access to the number of terms in the fields for a document vs the pre-calculated lengthnorm at scoring time - we want experiment with different lengthnorm functions so it seems like storing the raw length and then doing the norm calculation at query time would work.