lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <>
Subject Re: Eliminating norms ... completley
Date Mon, 10 Oct 2005 19:14:48 GMT
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:

View raw message