On Thu, 5 Apr 2007, Martin Reddy wrote:

The setAllowLeadingWildcard() function always aborts for me. E.g., the
following code causes an abort() to happen within Python and exits the
interpreter:

 from PyLucene import QueryParser, StandardAnalyzer
 parser = QueryParser("Hello World", StandardAnalyzer())
 parser.setAllowLeadingWildcard()

Indeed, the wrappers were declared wrong.
The correct call now is: parser.setAllowLeadingWildcard(True/False)

Andi..

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

Reply via email to