lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From starz10de <farag_ah...@yahoo.com>
Subject Printing lucene index content
Date Sat, 03 Mar 2007 12:54:33 GMT

hi all,

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.

thanks
-- 
View this message in context: http://www.nabble.com/Printing-lucene-index-content-tf3338412.html#a9284757
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message