Re: IndexReader question

2005-11-17 Thread Michael Curtin
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

IndexReader question

2005-11-17 Thread Anna Buczak
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