In PyLucene 1.9.1, it was possible to invoke a MultiFieldQueryParser using:

fields = ["field1", "field2"]
qp = MultiFieldQueryParser(fields, StandardAnalyzer())

but in 2.0.0 that doesn't seem to work:

PyLucene.InvalidArgsError: (<type 'PyLucene.MultiFieldQueryParser'>, '__init__', (['field1', 'field2'], <StandardAnalyzer: [EMAIL PROTECTED]>))

Is there a different way to do this now, or is it a bug?

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

Reply via email to