Hello,

I would like to extract and store the document term matrix externally. I iterate the terms and the documents for each term:
TermEnum terms=IndexReader.terms();
while(terms.next()) {
        TermDocs docs=IndexReader.termDocs(terms.term());
        while(docs.next()) {
                //store the term, the document and the weight
        }
}

How can I get the term weight for a document?

Thanks. Sören

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to