Extracting data from Lucene index files

2006-12-13 Thread Venkateshprasanna
I would like to use the data stored in the Lucene indexes, like the words and their frequencies and store them in a database. Can anyone suggest a way of going about it or is it possible at all? TIA Prasanna -- View this message in context: http://www.nabble.com/Extracting-data-from-Lucene

Re: Extracting data from Lucene index files

2006-12-13 Thread Grant Ingersoll
at all? TIA Prasanna -- View this message in context: http://www.nabble.com/Extracting-data- from-Lucene-index-files-tf2813318.html#a7850919 Sent from the Lucene - Java Users mailing list archive at Nabble.com. - To unsubscribe

Re: Extracting data from Lucene index files

2006-12-19 Thread Venkateshprasanna
c(),"contents"); String indexTerms[] = tfv.getTerms(); int indexFreqs[] = tfv.getTermFrequencies(); for(int i = 0; ihttp://www.nabble.com/Extracting-data-from-Lucene-index-files-tf2813318.html#a7984092 Sent from the Lucene - Java Users mailing lis

Re: Extracting data from Lucene index files

2006-12-20 Thread Doron Cohen
dexFreqs[] = tfv.getTermFrequencies(); > > for(int i = 0; iSystem.out.println(indexTerms[i]+" "+indexFreqs[i]); > } > } > } > > But there is no way of getting the frequency of only 'that' term in 'that' > document. I have to get t

Re: Extracting data from Lucene index files

2006-12-25 Thread Venkateshprasanna
e (tenum.next()); Also, you can skip faster to a certain doc (id) or certain term using the skipTo() methods. Doron -- View this message in context: http://www.nabble.com/Extracting-data-from-Lucene-index-files-tf2813318.html#a8050926 Sent from the Luce