lucene-dev mailing list archives

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


Hello,

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,
PrDatur


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


Mime
View raw message