The file format allows only one norm per doc, quoting from there:
The .nrm file contains, for each document, a byte that encodes a value that
is multiplied into the score for hits on that field: Norms (.nrm) --> <Byte> ** SegSize SegSize is the number of documents contained in the segment index.
But the IndexReader.norms() method allows one norm per document field:
public abstract byte[] norms(String field)
Is the file format documentation is incomplete here?
It's just wrong! There's a norm file for each indexed field with a byte for each document. These are the .n[0-9]* files.
Doug
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
