lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: IOException and index corruption
Date Thu, 12 Oct 2006 14:49:39 GMT

On Oct 12, 2006, at 10:17 AM, Apache Lucene wrote:
> When I am adding a document to the lucene index if the method  
> throws an
> IOException and if I continue with adding other documents ignoring the
> exception, will the index be corrupted? What happens to the fields  
> which are
> already written to the index?

This would surely depend on what caused the IOException.  I would not  
recommend continuing to add documents in light of an IOException though.

	Erik


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


Mime
View raw message