I don't know if this has anything to do with your problem but you can turn off locking entirely by:
'''
import os
os.environ['GCJ_PROPERTIES'] ="disableLuceneLocks=true"
'''
regards
/rune
On 23. feb. 2005, at 16.27, Nick Arnett wrote:
Turns out that the problem I was having with crashes when trying to use indexes appears to have been simply that the index was locked. I seem to be able to replicate the problem by interrupting the indexing process. After interruption, indexing or searching crashes... but after using Luke to force the index to unlock, everything works fine again.
Now I'm off to see how I can catch this error and then force an unlock from PyLucene...
Nick
_______________________________________________ pylucene-dev mailing list [email protected] http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
_______________________________________________ pylucene-dev mailing list [email protected] http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
