lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <>
Subject Re: Reconstruct segments file?
Date Fri, 04 Feb 2005 19:25:30 GMT
Ian Soboroff wrote:
> I've looked over the file formats web page, and poked at a known-good
> segments file from a separate, similar index using od(1) and such.  I
> guess what I'm not sure how to do is to recover the SegSize from the
> segment I have.

The SegSize should be the same as the length in bytes of any of the 
.f[0-9]+ files in the segment.  If your segment is in compound format 
then you can use IndexReader.main() in the current SVN version to list 
the files and sizes in the .cfs file, including its contained .f[0-9]+ 


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message