Re: CFS file and file formats

2004-12-23 Thread Doug Cutting
Steve Rajavuori wrote: There are around 20 million documents in the orphaned segments, so it would take a very long time to update the index. Is there an "unsafe" way to edit the segments file to add these back? It seems like the missing piece of information I need to do this is the correct segment

RE: CFS file and file formats

2004-12-23 Thread Steve Rajavuori
recover once that had happened? -Original Message- From: Doug Cutting [mailto:[EMAIL PROTECTED] Sent: Thursday, December 23, 2004 1:34 PM To: Lucene Users List Subject: Re: CFS file and file formats Steve Rajavuori wrote: > 1) First of all, there are both CFS files and standard (non-c

Re: CFS file and file formats

2004-12-23 Thread Doug Cutting
Steve Rajavuori wrote: 1) First of all, there are both CFS files and standard (non-compound) files in this directory, and all of them have recent update dates, so I assume they are all being used. My code never explicitly sets the compound file flag, so I don't know how this happened. This can happ

RE: CFS file and file formats

2004-12-23 Thread Steve Rajavuori
ay, December 22, 2004 4:50 PM To: Lucene Users List Subject: Re: CFS file and file formats On Wednesday 22 December 2004 23:41, Steve Rajavuori wrote: > Thanks. I am trying to repair a corrupted 'segments' file. Why are you sure it's corrupted? Are the *.cfs file and the other fi

Re: CFS file and file formats

2004-12-22 Thread Daniel Naber
On Wednesday 22 December 2004 23:41, Steve Rajavuori wrote: > Thanks. I am trying to repair a corrupted 'segments' file. Why are you sure it's corrupted? Are the *.cfs file and the other files types mixed in one directory? Then that's the problem: if you have *.cfs, segments, and deletable, not

RE: CFS file and file formats

2004-12-22 Thread Steve Rajavuori
Thanks. I am trying to repair a corrupted 'segments' file. I am attempting to manually edit the file to add some missing segment names, but I need to add the correct segment size for each. Can anyone tell me how to determine the correct segment size (number of documents in the segment) by looking i