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 <mr...@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-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org