Yonik Seeley wrote:
On 12/11/06, Eric Jain <[EMAIL PROTECTED]> wrote:
I've noticed that after stress-testing my application (uses Lucene
2.0) for
I while, I have almost 200mb of byte[]s hanging around, the top two
culprits being:
24 x SegmentReader.Norm.bytes = 112mb
2 x SegmentReader.ones = 16mb
Each indexed field has a norm array that is the product of it's
index-time boost and the length normalization factor. If you don't
need either, you can omit the norms (as it looks like you already have
on some fields given that "ones" is the fake norms used in place of
the "real" norms).
Thanks for the explanation.
Not sure where the fields without norms come from: I use neither
Field.setOmitNorms nor Index.NO_NORMS anywhere!
I do want to use document boosting... Is that independent from field
boosting? The length normalization on the other hand may not be necessary.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]