[pylucene-dev] TopFieldDocs TopDocs

Andi Vajda vajda at osafoundation.org
Fri Sep 8 09:55:27 PDT 2006


> Is there any way I can create TopFieldDocs or TopDocs with PyLucene 2?
> It seems like Lucene developers has closed access to these objects
> outside "search" package.

The wrappers for the TopFieldDocs and TopDocs constructors have been in 
PyLucene since version 0.9.7. I verified that they're also included in 
PyLucene 2.

The constructor for TopDocs and TopFieldDocs are at line 9645 and 9719 
respectively. Have you tried them ?

Andi..



More information about the pylucene-dev mailing list