You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Bert Coessens <bc...@esat.kuleuven.ac.be> on 2004/08/27 15:50:07 UTC

Concerning TermFreqVector

Dear List,

Why does the TermFreqVector object only contain an array of strings 
representing the terms instead of an array of Term objects (as is the 
case in all other objects)? The latter would for instance allow to get 
more information from the Term but its string representation and 
document frequency.

In general I'm working document oriented and only use inverse document 
frequencies. Addition of getTermFreqVector to IndexReader was really 
great, but since I only use IDF scores, I can't use this method, because 
I can't get to the docFreq() if I don't have the Term object.

Regards,
Bert

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