The details of the segments file (and all the others) is freely available here:

        http://jakarta.apache.org/lucene/docs/fileformats.html

Also, there is Java code in Lucene, of course, that manipulates the segments file which could be leveraged (although probably package scoped and not easily usable in a standalone repair tool).

        Erik


On Aug 18, 2004, at 6:50 AM, Honey George wrote:

Looks like problem is not with the hexeditor, even in
the ultraedit(i had access to a windows box) I am
seeing the same display. The problem is I am not able
to identify where a record starts with just 1 record
in the file.

Need to try some alternate approach.

Thanks,
  George

--- [EMAIL PROTECTED] wrote:
http://www.ultraedit.com/ is the best!

However, I cannot imagine how another hexeditor
wouldnt work.

-----Original Message-----
From: Honey George [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 17, 2004 10:35 AM
To: Lucene Users List
Subject: RE: Restoring a corrupt index


Wallen, Which hex editor have you used. I am also facing a similar problem. I tried to use KHexEdit and it doesn't seem to help. I am attaching with this email my segments file. I think only the segment with name _ung is a valid one, I wanted to delete the remaining..but couldn't. Can you help?

-George







___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to