lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karthik N S" <kart...@controlnet.co.in>
Subject RE: Restoring a corrupt index
Date Wed, 18 Aug 2004 13:05:11 GMT
Hi Guys....


   In Our Situation we would be indexing  Million & Millions of Information
documents

  with  Huge Giga Bytes of Data Indexed  and  finally would be  put into a
MERGED INDEX, Categorized accordingly.

  There may be a possibility of Corruption,  So Please do post  the code
reffrals....


 Thx
Karthik


-----Original Message-----
From: Honey George [mailto:honey_george@yahoo.com]
Sent: Wednesday, August 18, 2004 5:51 PM
To: Lucene Users List
Subject: Re: Restoring a corrupt index


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/lucene-user@jakarta.apache.org/msg03165.html

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

Thanks,
  George



 --- Erik Hatcher <erik@ehatchersolutions.com> 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: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message