Look inside PyLucene.i and you can see that Document.fields() actually returns a FieldEnumeration instance. __iter__() is only called on it if you iterate it with python. It implements the Java Enumeration interface and you can call those methods too.


Andi..

On Mon, 7 Feb 2005, Yura Smolsky wrote:

Hello, Andi.

Can you provide me with another way getting Document.fields()
values without using __iter__()?..


iterates on doc.fields(). So results from the server's function is
never returns b/c iteration is "buzz".

AV> What does this sentence mean ? 'buzz' ?

I cannot debug this method started from WorkerThread b/c WingIDE does not
catch breakpoint.

AV> I've heard this before, Wing may not be able to debug a PyLucene thread. AV> I don't use an IDE, just GNU emacs and a command line, so I don't know what AV> the issue actually is.

AV> Andi..



AV>



Yura Smolsky,



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

Reply via email to