lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Ackermann <>
Subject Re: Created: (LUCENE-2607) IndexWriter.isLocked() fails on a read-only
Date Fri, 24 Sep 2010 10:53:39 GMT


You're right that it should return false instead of throwing an
exception only.
But it would be very nice if lucene checks first if directory is
writeable, if it is i would find it nice if it throws an error like
"Directory: /tmp/something (Directory not writeable for current user)"
or something similiar.

best regards,

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message