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: Applet, read-only mode index/code contribution
Date Thu, 06 Nov 2003 23:51:23 GMT
On Thursday, November 6, 2003, at 01:55  PM, Thomas Fuchs wrote:
> Hi,
>
> I used lucene 1.2/it.unige.csita.lucene.RODirectory inside an applet 
> on CD-ROM. In lucene 1.3 the system property 'disableLuceneLocks' was 
> introduced to make it.unige.csita.lucene.RODirectory or something like 
> that obsolete. But this didn't work - as already mentioned by Jon - 
> because the security manager denies access to system properties. But 
> lucene 1.3 rc2 and it.unige.csita.lucene.RODirectory aren't 
> compatible, so a work-around is still required. I attched a dirty hack 
> based on FSDirectory, called RODirectory.
>
> - Thomas
>

I agree that there should be another mechanism to disable locks than 
with a system property.  Are their arguments against making the 
FSDirectory.DISABLE_LOCKS settable through an API call?

	Erik


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


Mime
View raw message