Re: doc.getFields argument error

2007-01-18 Thread David
Yes, It is a bug of PyLucene.Thanks! 2007/1/19, Chris Hostetter <[EMAIL PROTECTED]>: : fields = doc.getFields() : TypeError: getFields() takes exactly one argument (0 given) : : how to fix this error? this sounds like a problem with the port ... when you have questio

Re: doc.getFields argument error

2007-01-18 Thread Chris Hostetter
: fields = doc.getFields() : TypeError: getFields() takes exactly one argument (0 given) : : how to fix this error? this sounds like a problem with the port ... when you have questions about using pylucene please start by mailing the pylucene community before mailing the

doc.getFields argument error

2007-01-18 Thread David
Hi all : in Lucene JavaDoc, the getFields signature is : public final List *getFields*() I use PyLucene and write the following code: for i, doc in hits: fields = doc.getFields() for field in fields: