lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: fdt file format
Date Mon, 03 Oct 2011 21:24:52 GMT
Look at src/java/org/apache/lucene/index/FieldsWriter.java

It looks like the file format docs don't specify the 4 byte (int,
value=3, big-endian I think) header we write.

After those 4 bytes it should match?

Mike McCandless

http://blog.mikemccandless.com

On Mon, Oct 3, 2011 at 3:11 PM, Michael Ryan <mryan@moreover.com> wrote:
> I'm trying to understand the .fdt file format and seem to have run into some
> discrepancies between the documentation and the actual format.
>
> Near the start of the file, there are some bytes that don't match up with the
> description at http://lucene.apache.org/java/3_2_0/fileformats.html#Fields. It
> looks like perhaps there is a magic number at the start of the file, followed by
> some other stuff. Is the documentation missing something about this? Or, could
> someone point me in the direction of where in Lucene this file is parsed/read?
>
> -Michael
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message