[pylucene-dev] Bug in sample files

Ken Kinder kkinder at gmail.com
Tue May 30 23:01:29 PDT 2006


In SearchFiles.py, when you run a query, you get:

Traceback (most recent call last):
  File "SearchFiles.py", line 37, in ?
    run(searcher, analyzer)
  File "SearchFiles.py", line 24, in run
    query = QueryParser.parse(command, "contents", analyzer)
TypeError: descriptor 'parse' requires a 'PyLucene.QueryParser' object but
received a 'str'

Looks like it expects an instance of PyLucene.QueryParser?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osafoundation.org/pipermail/pylucene-dev/attachments/20060531/a77b967d/attachment.html


More information about the pylucene-dev mailing list