You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Eric Isakson <Er...@sas.com> on 2003/02/24 17:17:53 UTC
Question about .f1, .f2, etc. files in index directory
Was reading http://jakarta.apache.org/lucene/docs/fileformats.html and noticed that files .f1, f2, ... are not mentioned, but a file called .nrm is.
Are the .f1, .f2, ... files that are created in my index directory by DocumentWriter.writeNorms(Document doc, String segment) the .nrm file that is documented in the section called Normalization Factors? That is what it looked like, just wanted a confirmation from the experts before I commit that to my documentation for my internal Lucene implementation.
Thanks,
Eric
--
Eric D. Isakson SAS Institute Inc.
Application Developer SAS Campus Drive
XML Technologies Cary, NC 27513
(919) 531-3639 http://www.sas.com
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org
Re: Question about .f1, .f2, etc. files in index directory
Posted by Doug Cutting <cu...@lucene.com>.
Yes. The .f[0...] files are indeed the norm files. There is one file
for each indexed field and each file contains a one-byte normalization
factor for each document.
This is a documentation bug. There is no .nrm file with per-document
normalization files, rather multiple .f files, one per indexed field.
Doug
Eric Isakson wrote:
> Was reading http://jakarta.apache.org/lucene/docs/fileformats.html and noticed that files .f1, f2, ... are not mentioned, but a file called .nrm is.
>
> Are the .f1, .f2, ... files that are created in my index directory by DocumentWriter.writeNorms(Document doc, String segment) the .nrm file that is documented in the section called Normalization Factors? That is what it looked like, just wanted a confirmation from the experts before I commit that to my documentation for my internal Lucene implementation.
>
> Thanks,
> Eric
>
> --
> Eric D. Isakson SAS Institute Inc.
> Application Developer SAS Campus Drive
> XML Technologies Cary, NC 27513
> (919) 531-3639 http://www.sas.com
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-dev-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org