Re: Problem of getTermFrequencies()

2010-05-17 Thread Ian Lea
terms and freqs are arrays. Try terms[i] and freqs[i]. -- Ian. On Mon, May 17, 2010 at 12:23 PM, manjula wijewickrema wrote: > Hi, > > I wrote a code with a view to display the indexed terms and get their term > frequencies of a single document. Although it displys those terms in the > index,

Re: Problem of getTermFrequencies()

2010-05-17 Thread manjula wijewickrema
Dear Ian, I changed it as you said and now it is working nicely. Thanks a lot for your kind help. Manjula On Mon, May 17, 2010 at 6:46 PM, Ian Lea wrote: > terms and freqs are arrays. Try terms[i] and freqs[i]. > > > -- > Ian. > > > On Mon, May 17, 2010 at 12:23 PM, manjula wijewickrema > wr

Re: Problem of getTermFrequencies()

2010-05-17 Thread Grant Ingersoll
Note, depending on your downstream use, you may consider using a TermVectorMapper that allows you to construct your own data structures as needed. -Grant On May 17, 2010, at 3:16 PM, Ian Lea wrote: > terms and freqs are arrays. Try terms[i] and freqs[i]. > > > -- > Ian. > > > On Mon, May

Re: Problem of getTermFrequencies()

2010-05-20 Thread manjula wijewickrema
Thanx On Mon, May 17, 2010 at 10:19 PM, Grant Ingersoll wrote: > Note, depending on your downstream use, you may consider using a > TermVectorMapper that allows you to construct your own data structures as > needed. > > -Grant > > On May 17, 2010, at 3:16 PM, Ian Lea wrote: > > > terms and freqs