[pylucene-dev] MultiFieldQueryParser

steve jenson stevej at pobox.com
Mon Jan 3 23:02:07 PST 2005


On Jan 3, 2005, at 10:29 PM, Andi Vajda wrote:

> Thanks for your patch. I incorporated most of it and checked the 
> changes in.
> The changes in Makefile were incorrect, the analogy with QueryParser 
> only goes so far since there is no need for patching 
> MultiFieldQueryParser.java
> Also, you shouldn't need to rename the static parse methods (to be 
> verified).
> The reason I renamed the non-static parse method on QueryParser is 
> because overloading of a mixture of static and non-static methods 
> doesn't seem to please swig.

I see. I wasn't sure but I was getting a bus error regardless.

> If you have code exercising MultiFieldQueryParser and would like to 
> submit a python unit test, that would be great !

I have one and have attached it as a patch. Let me know if it doesn't 
meet your style requirements.

I've svn update'd, rebuilt, and find that running my unit test gives me 
the same bus error. Please let me know how I can help. I don't have a 
symbol table when I poke around with GDB or else I would dig further. 
My experience debugging SWIG is limited.

Thanks again,
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_PyLucene.py.patch
Type: application/octet-stream
Size: 957 bytes
Desc: not available
Url : http://lists.osafoundation.org/pipermail/pylucene-dev/attachments/20050103/c7e7cc11/test_PyLucene.py.obj
-------------- next part --------------



More information about the pylucene-dev mailing list