[pylucene-dev] ***SPAM*** changing lock directory on windows, + SMB shares??

John Kleven johnkleven at yahoo.com
Sat Aug 19 20:52:46 PDT 2006


Hi All,

Trying to change the lock directory for PyLucene on
win XP.

It appears this doesn't work:
setProperty("org.apache.lucene.lockdir","z:\\lock")
Because of data listed here:
http://lists.osafoundation.org/pipermail/pylucene-dev/2004-December/000285.html

Additionally, it seems like maybe this should work:
import os
os.environ['GCJ_PROPERTIES'] =
"org.apache.lucene.lockdir=z:\\locks"
per info at this thread:
http://lists.osafoundation.org/pipermail/pylucene-dev/2004-December/000290.html

However, i can't get any of these to actually tear the
lock directory from the default windows temp area.

Anybody have any ideas on how to do this??  I'm out of
ideas at this point.

Oh, and i guess i should mention that i'm trying to
have multiple index readers and modifiers work on an
index dir that is shared via "network neighborhood",
aka, SMB, aka, mapped drives.  If this is impossible
from the get go, that would be good to know.  I think
it should be OK as long as i set the lock dirs to also
be shared.

Thx for any and all help/ideas -
john

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the pylucene-dev mailing list