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 [mailto:[EMAIL PROTECTED] Sent: Monday, October 10, 2005 2:15 PM To: java-dev@lucene.apache.org 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. Doug --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]