pylucene branch_3x fails to build

2011-01-11 Thread Helmut Jarausch
First, the patch jcc/jcc/patches/patch.43.0.6c11 doesn't quite work for Python2.7.1. I have attached a modified patch. More serious is the following error during make (I'm using sun-jdk-1.6.0.23) ant -f extensions.xml -Dlucene.dir=lucene-java-3.x Buildfile: /Work1/Obj/Python/pylucene-build/exte

call python from java - what strategy do you use?

2011-01-11 Thread Roman Chyla
Hi, I have recently wrapped solr inside jetty with JCC (we need to access very big result sets quickly, via JNI, but also keep solr running as normal) and was wondering what strategies do you guys use to speak *from inside* Java towards the Python end. So far, I was able to think about these: -

Re: call python from java - what strategy do you use?

2011-01-11 Thread Roman Chyla
Hi Andy, This is much more than I could have hoped! Just yesterday, I was looking for ways how to embed Python VM in Jetty, as that would be more natural, but found only jepp.sourceforge.net and off-putting was the necessity to compile it against the newly built python. I could not want it from th