Hello,

i think that you can use the method termDocs From IndexReader to obtain a 
TermDoc object which contain term frequency by document.

TermDoc 
http://lucene.apache.org/java/docs/api/org/apache/lucene/index/TermDocs.html
IndexReader (termDocs) 
http://lucene.apache.org/java/docs/api/org/apache/lucene/index/IndexReader.html#termDocs(org.apache.lucene.index.Term)

bye

jose


José Ramón Pérez Agüera

Visiting Research Scholar at Yahoo! Research Spain.
Ocata 1, 1st floor 08003 Barcelona Catalunya, Spain

Dept. de Ingeniería del Software e Inteligencia Artificial
Despacho 411 tlf. 913947599
Facultad de Informática
Universidad Complutense de Madrid

Reply via email to