I think you want to access the TermEnum from IndexReader's terms() method.
Depending upon how many fields you have an which ones you're interested in
for term frequencies, something like this should get you started:
String dir = "topleveldir";
IndexReader ir = new IndexReader(FSDirectory.getDir
I built an index of my documents using Lucene. I am interested in
exporting part of the information in the Lucene index to a file (and
using that file in another application). The information that I want to
export consists mainly of the frequencies of the words in each of the
documents.
Does an