Re: Segments file format

2005-10-26 Thread Yonik Seeley
There is a currently undocumented extra int32. Here's the code for writing the segment file: output.writeInt(FORMAT); // write FORMAT output.writeLong(++version); // every write changes the index output.writeInt(counter); // write counter output.writeInt(size()); // write infos for (int i = 0; i <

Re: Segments file format

2005-10-26 Thread Yonik Seeley
Hi Bill, I can't seem to correctly parse it either... Format = FF FF FF FF Version = 00 00 00 00 00 00 00 28 SegCount = 00 00 00 4E = 00 00 00 04 -Yonik Now hiring -- http://forms.cnet.com/slink?231706 On 10/26/05, Bill Tschumy <[EMAIL PROTECTED]> wrote: > > I have been trying to reconstitu

Segments file format

2005-10-26 Thread Bill Tschumy
I have been trying to reconstitute a corrupted index. I have been looking at the segments file with a hex-editor and its format doesn't seem to quite agree with the description found at: It indicates the segments file looks like this: Seg