lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nalini Kartha <>
Subject Re: Changing field lengthnorm to store length
Date Thu, 19 Jun 2014 17:12:43 GMT
Sorry, this probably wasn't the right mailing list for this question.
Sending to java-user@lucene.


On Thu, Jun 19, 2014 at 10:00 AM, 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.
> Is changing the lengthnorm method on Similarity class to return the raw
> number of terms the right way to go to for this? We realize this will
> result in taking up more than a byte to store the value but we're OK with
> this. Will this break anything else under the hood?
> Thanks,
> Nalini

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message