corrupted index

2004-12-04 Thread Justin Swanhart
Somehow today one of my indexes became corrupted. I get the following IO exception when trying to open the index: Exception in thread main java.io.IOException: read past EOF at org.en.lucene.store.InputStream.refill(InputStream.java:154) at

Re: corrupted index

2002-04-02 Thread Otis Gospodnetic
Hello, Nobody has contributed a tool that verified index integrity, yet. Is this the latest version of Lucene? Are you hitting the 2GB/file limit? Just some ideas. Otis --- H S [EMAIL PROTECTED] wrote: Dear All, We are experiencing a problem with index updates. We have a fairly large

RE: corrupted index

2002-04-02 Thread Doug Cutting
Hinrich, Can you please send a stack trace? As others have mentioned, there isn't an index integrity checker. Doug P.S. Hi! How are you? -Original Message- From: H S [mailto:[EMAIL PROTECTED]] Sent: Monday, April 01, 2002 5:26 PM To: [EMAIL PROTECTED] Subject: corrupted index

Re: corrupted index

2002-03-17 Thread Ype Kingma
Otis, You can remove the .lock file and try re-indexing or continuing indexing where you left off. I am not sure about the corrupt index. I have never seen it happen, and I believe I recall reading some messages from Doug Cutting saying that index should never be left in an inconsistent

RE: corrupted index

2002-03-17 Thread Matt Tucker
: corrupted index Oh, I just thought of something (wine does body good). Perhaps one could use Runtime (the class) to catch the JVM shutdown and do whatever is needed to prevent index corruption. I believe there are some shutdown hook methods in there that may let you do that. I'm too lazy

Re: corrupted index

2002-03-16 Thread Steven J. Owens
Otis, You can remove the .lock file and try re-indexing or continuing indexing where you left off. I am not sure about the corrupt index. I have never seen it happen, and I believe I recall reading some messages from Doug Cutting saying that index should never be left in an inconsistent

Re: corrupted index

2002-03-16 Thread Otis Gospodnetic
Oh, I just thought of something (wine does body good). Perhaps one could use Runtime (the class) to catch the JVM shutdown and do whatever is needed to prevent index corruption. I believe there are some shutdown hook methods in there that may let you do that. I'm too lazy to look up the API