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
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
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
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
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