Hi, I understood that we need to call initVM() once per process and getVMEnv().attachCurrentThread() one per thread. What are the side effects of calling attachCurrentThread() more than once in the same thread?
In my project mostly all the lucene related stuff are initiated by cherrypy threads. So I am planning to put a attachCurrentThread in my search, index, advanced_search, get_doc, get_fields functions itself. Is it a good idea? Because there may be a case that the same thread might be calling more than one of these functions. Will it create a problem? What should be the ideal approach? Thanks, Raj.
_______________________________________________ pylucene-dev mailing list pylucene-dev@osafoundation.org http://lists.osafoundation.org/mailman/listinfo/pylucene-dev