[pylucene-dev] Abort() when
using QueryParser.setAllowLeadingWildcard()
Andi Vajda
vajda at osafoundation.org
Thu Apr 5 13:08:19 PDT 2007
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..
More information about the pylucene-dev
mailing list