Thanks Erik, that worked. I was able to remove the
corrupt index and now it looks like the index is OK. I
was able to view the number of documents in the index.
Before that I was getting the error,
java.io.IOException: read past EOF

I am yet to find out how my index got corrupted. There
is another thread going on about this topic,
http://www.mail-archive.com/[EMAIL PROTECTED]/msg03165.html

If anybody is facing similar problem and is interested
in the code I can post it here. 

Thanks,
  George



 --- Erik Hatcher <[EMAIL PROTECTED]> wrote: 
> 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



        
        
                
___________________________________________________________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]

Reply via email to