On Jan 14, 2013, at 22:13, liling tan <alvati...@gmail.com> wrote: > Dear Fellow pylucene dev, > > I've been using lucene (java v.3.0.1) without problems and my new project > group requires me to code in python. So i've some questions about > writers/readers/searchers/directories not closing after calling them to > close. > > My problem is with MergeError when indexing large chunks of data, more > details could be found here. > http://stackoverflow.com/questions/14313568/how-to-resolve-mergeexception-from-massive-lucene-index-writing > > I've tried the same code on 3 machines: > a) my server gives the MergeError as described in > http://stackoverflow.com/questions/14313568/how-to-resolve-mergeexception-from-massive-lucene-index-writing > b) my laptop, works fine but my RAM burns out and shuts the laptop down. > c) desktop, i've installed pylucene 2.3
Version 2.3 is years old. Please use version 3.6.2 to get all Lucene and PyLucene improvements and fixes that happened since then. > with the same procedures as my > laptop from ( > http://freethreads.wordpress.com/2012/07/22/pylucene-installation-on-ubuntu-12-04/ > ) > but it gives > terminate called after throwing an instance of 'JCCEnv::exception' > Aborted > > > Is there anyway to resolve this problem? i've tried the suggestions given > on stackoverflow but it gets stuck at the same point. How so ? What action did you take (based on the answers on stackoverflow) ? And what happened ? > Another related question is > http://stackoverflow.com/questions/14316004/is-there-a-way-to-just-close-all-closables-in-lucene If you keep track of all of them, sure. You're opening them, after all. You might want to ask on the java-u...@lucene.apache.org too. Andi.. > > Best Regards, > liling