On Tue, 13 Nov 2007, Andi Vajda wrote:

On Tue, 13 Nov 2007, Bill Janssen wrote:

It crashes for me, too, when I run it with an unmodified JCC.

To get the error I reported, I use a much larger codebase.  But I
think it's the same problem -- the 'value' field isn't of the type
reported by the 'exc' field.  And it's crashing in the same place,
in the call to the Java implementation of getBooleanQuery.

It's crashing because your code example is a little screwy. It's passing a MultiFieldQueryParser instance to a QueryParser wrapper. The C++ methods on the C++/JNI wrapper are not virtual and hence this is not going to do what you think. The fact that getBooleanQuery() is even called makes no sense if what you're invoking is parse().

Strike that, I was confused by gdb output. Debugging a python executable with gdb on leopard, using the system python, is a little problematic. I'm building my own now...

more in a bit...

Andi..
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to