I'm approaching it the same as term vectors... make the norms optional on a per field basis. My first cut is returning a dummy norm array filled in with the equiv of 1.0f so I didn't have to go modify all the queries/weights/scorers that retrieve the norms. For best performance, those scorers should be modified to handle null.
-Yonik On 10/7/05, Robert Engels <[EMAIL PROTECTED]> wrote: > > I did exactly this in my custom lucene, since the array of a byte per > document is extremely wasteful in a lot of applications. I just changed > the > code to return null from getNorms() and modified the callers to treat a > null > array as always 1 for any document. >