Hi House
I had the same problem and tried the same solution, but I am getting an
empty termDocs. How have you done it ?
My code is:
TermDocs td = ir.termDocs();
// Primero los guardo en un temporal porque ponerlos en
un array no puedo
porque me falta la cantidad
while (td.next()) {
if (td.doc() == m_docNro) {
tfs.add(td.toString());
System.out.println("Documento:" +
td.toString());
tfi.add(td.freq());
}
----
It never enters the while.
Regards !
--
View this message in context:
http://lucene.472066.n3.nabble.com/Retrieving-the-term-vectors-of-a-document-in-Nutch-tp560993p3647617.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]