I just noticed one thing that I might got wrong:

This is the function which guards all my classes which do calls into lucene:
------------------------------------------------------------
def init_lucene():
    vm_env = lucene.getVMEnv()
    if vm_env == None:
        vm_env = lucene.initVM(lucene.CLASSPATH)
    assert vm_env != None
    vm_env.attachCurrentThread()
------------------------------------------------------------

Maybe I got something wrong with 'getVMEnv'?

fs

_______________________________________________
pylucene-dev mailing list
pylucene-dev@osafoundation.org
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to