lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ype Kingma <ykin...@xs4all.nl>
Subject File format for norms inconsistent with IndexReader.norms()
Date Thu, 14 Aug 2003 02:47:26 GMT
Dear readers,

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?

Regards,
Ype

Mime
View raw message