lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Giri, Sandeep" <>
Subject Index-file locking while searching?
Date Thu, 13 Feb 2003 20:12:31 GMT
I don't want to give write permission to the index directory while
But lucene needs write permission on index directory so that it can create
locks while searching.
So, I tried to use the "-DdisableLuceneLocks=true" but its not working.
It gives the following error:
SEVERE: Permission denied
        at Method)
        at$1.obtain(Unknown Source)
        at$ Source)
        at Source)
        at Source)
        at<init>(Unknown Source)
        at FileSearcherCmdLine.main(
[Search Time]: 0.0 secs

What is the solution?
Somebody, please help me out..

Thanks in advance.

Best Regards,
Sandeep Giri
Member Technical 
D.E.Shaw India Software Pvt. Ltd. 
DISCLAIMER :"Any views expressed in this message are those of the individual
sender, except where the sender specifically states them to be the views of
D. E. Shaw India Software Private Limited., or any of its affiliates" 

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

View raw message