lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <DCutt...@grandcentral.com>
Subject RE: new Lucene release: 1.2 RC2
Date Mon, 22 Oct 2001 15:23:57 GMT
> From: Sunil Zanjad [mailto:sunilz@bsil.com]
>
>   >Indexes left in an inconsistent state on crash (i don't
>   > remember who
> 
>   I believe that even I have reported it. This happens on 
> abrupt exit of the JVM
>   To do this I had one thread updating a directory containing 
> many .txt files and
>   I simply exited the program. Later when I ran the search, 
> it didnt give me the desired output.

That's actually the correct behavior.  If indexing is not completed, with a
call to IndexWriter.close(), then the index should appear unchanged.

Doug

Mime
View raw message