what if the IndexReader crashes, after delete, before close.

2005-01-08 Thread Peter Veentjer - Anchor Men
What happens to the Index if the IndexReader crashes, after I have deleted documents, and before I have called close. Are the deletes ignored? Is the Index screwed up? Is the filesystem screwed up (if a document is deleted new delete-files appear) so are the delete-files still there (and can

some thoughts about adding transactions.

2005-01-08 Thread Peter Veentjer - Anchor Men
If have a question about transactions . Lucene doesn`t support transactions but I find it very important and I think it is possible to add some kind of rollback/commit functionality to make sure the index doesn`t corrupt.. With lucene every segment is immutable (this is a perfect starting

RE: Fatal error on Windows

2005-01-08 Thread Alexey Lef
If my understanding is correct, unless you are using JNI, you should never be able to crash the JVM using only java code. We've had a lot of crash problems with Sun's JVM, especially in server mode (on Linux, not Windows). We don't have any JNI code (only the JVM itself and the database driver).