RE: One Byte is Seven bits too many? - A Design suggestion

2005-05-22 Thread Robert Engels
I have always thought that the norms should be an interface, rather than fixed, as there are many uses of lucene where norms are not necessary, and the memory overhead is substantial. -Original Message- From: Arvind Srinivasan [mailto:[EMAIL PROTECTED] Sent: Sunday, May 22, 2005 7:05 PM To

Re: One Byte is Seven bits too many? - A Design suggestion

2005-05-22 Thread Paul Elschot
On Monday 23 May 2005 02:04, Arvind Srinivasan wrote: > One Byte is Seven bits too many? - A Design suggestion > > Hi, > > The norm takes up 1 byte of storage per document per field. While this may seem > very small, a simple calculation shows that the IndexSearcher can consume lots of > memor

Re: One Byte is Seven bits too many? - A Design suggestion

2005-05-23 Thread Doug Cutting
Robert Engels wrote: I have always thought that the norms should be an interface, rather than fixed, as there are many uses of lucene where norms are not necessary, and the memory overhead is substantial. I agree, but that's not the whole story. If one seeks merely to avoid caching the norms i