3 mar 2007 kl. 13.54 skrev starz10de:
How i can print the index content in order to use them for some
application.
I did use
TermEnum terms=ir.terms();
while (terms.next()) {
System.out.println(terms.term().text());
}
I still need to print the document id and the term frequency inside
each
document.
See TermDocs:
<http://lucene.apache.org/java/docs/api/org/apache/lucene/index/
TermDocs.html>
--
karl
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]