lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Engels" <>
Subject RE: Eliminating norms ... completley
Date Mon, 10 Oct 2005 19:20:32 GMT
Doesn't this cause a problem for highly interactive and large indexes? Since
every update to the index requires the rewriting of the norms, and
constructing a new array.

How expensive is the maintining of the norms on disk, at least in regards to
index merging?

-----Original Message-----
From: Doug Cutting []
Sent: Monday, October 10, 2005 2:15 PM
Subject: Re: Eliminating norms ... completley

Chris Hostetter wrote:
>   2) Can you think of a clean way for individual applications to eliminate
>      norms (via subclassing the lucene code base - ie: no patching)

Can't you simply subclass FilterIndexReader and override norms() to
return a cached dummy array of Similarity.encodeNorm(1.0f) for those
fields whose norms you don't want?  You'd still have to have a single
array of bytes, but no longer one per field.


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message