I couldn't figure out the rationale for having Hits and IndexReader
objects generate index/document tuples when iterated instead of simply
generating the documents. This makes the distinctly unlike Python
lists, where to get such behavior you'd use enumerate like::
for i, doc in enumerate(hits):
...
I assume this was discussed somewhere, but I couldn't find the
discussion. Could someone point me there?
Thanks,
Steve
P.S. This is my first time posting to the list, so I figured I should
give a brief introduction. I'm a Ph.D. student working in natural
language processing at the University of Colorado at Boulder. I've
used PyLucene a bit, but not extensively. My question above is mainly
out of curiosity about the design decisions of PyLucene.
--
Grammar am for people who can't think for myself.
--- Bucky Katt, Get Fuzzy
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev