On Tue, 30 Sep 2014, Aric Coady wrote:
I?ve found a regression involving Python* classes. If the overridden methods
raise an error, it?s causing a crash instead of propagating the error. Here?s
a simple example:
from org.apache.pylucene.search import PythonFilter
class Filter(PythonFilter):
"Broken filter to test errors are raised."
def getDocIdSet(self, *args):
assert False
I added the same 'assert False' line at line 69 in
test/test_FilteredQuery.py and this test fails (as expected) but I get no
crash.
Andi..
Run any search using an instance of that filter and it should reproduce.
On Sep 29, 2014, at 7:05 PM, Andi Vajda <va...@apache.org> wrote:
The PyLucene 4.10.1-0 release tracking today's release of Apache Lucene 4.10.1
is ready.
******* <ATTENTION> *******
Starting with release 4.8.0, Lucene now requires Java 1.7 at the minimum.
Using Java 1.6 with Lucene 4.8.0 and newer is not supported.
On Mac OS X, Java 6 is still a common default, please upgrade if you haven't
done so already. A common upgrade is Oracle Java 1.7 for Mac OS X:
http://docs.oracle.com/javase/7/docs/webnotes/install/mac/mac-jdk.html
On Mac OS X, once installed, a way to make Java 1.7 the default in your bash
shell is:
$ export JAVA_HOME=`/usr/libexec/java_home`
Be sure to verify that this JAVA_HOME value is correct.
On any system, if you're upgrading your Java installation, please rebuild
JCC as well. You must use the same version of Java for both JCC and PyLucene.
******* </ATTENTION> *******
A release candidate is available from:
http://people.apache.org/~vajda/staging_area/
A list of changes in this release can be seen at:
http://svn.apache.org/repos/asf/lucene/pylucene/branches/pylucene_4_10/CHANGES
PyLucene 4.10.1 is built with JCC 2.21 included in these release artifacts.
A list of Lucene Java changes can be seen at:
http://svn.apache.org/repos/asf/lucene/dev/tags/lucene_solr_4_10_1/lucene/CHANGES.txt
Please vote to release these artifacts as PyLucene 4.10.1-0.
Anyone interested in this release can and should vote !
Thanks !
Andi..
ps: the KEYS file for PyLucene release signing is at:
http://svn.apache.org/repos/asf/lucene/pylucene/dist/KEYS
http://people.apache.org/~vajda/staging_area/KEYS
pps: here is my +1