Re: Fwd: Re: Term Vectors

2005-11-11 Thread Grant Ingersoll
If you are storing the term vector when you index, then you can ask the IndexReader for the vector using the getTermFreqVector() method, which will return the TermFreqVector which should have the information you need [EMAIL PROTECTED] wrote: I hope that this isn't a newbies question, but let

Re: Fwd: Re: Term Vectors

2005-11-11 Thread marigoldcc
I hope that this isn't a newbies question, but let me ask the more general question. While IndexReader can return the documents containing the term t, I need to do the opposite. Is there a method, given document d, that will return all of the terms in that document (I need to calculate the averag