Using TermVectorMapper to compute term frequency across documents

2009-10-12 Thread Thomas D'Silva
Hi, I am trying to compute the counts of terms of the documents returned by running a query using a TermVectorMapper. I was wondering if anyone knew if there was a faster way to do this rather than using a HashMap with a TermVectorMapper to store the counts of the terms and calling getTermF

Re: Using TermVectorMapper to compute term frequency across documents

2009-10-14 Thread Grant Ingersoll
On Oct 12, 2009, at 10:46 PM, Thomas D'Silva wrote: Hi, I am trying to compute the counts of terms of the documents returned by running a query using a TermVectorMapper. I was wondering if anyone knew if there was a faster way to do this rather than using a HashMap with a TermVectorMapper

Re: Using TermVectorMapper to compute term frequency across documents

2009-10-15 Thread Karl Wettin
14 okt 2009 kl. 15.15 skrev Grant Ingersoll: On Oct 12, 2009, at 10:46 PM, Thomas D'Silva wrote: I am trying to compute the counts of terms of the documents returned by running a query using a TermVectorMapper. I was wondering if anyone knew if there was a faster way to do this rather than

Re: Using TermVectorMapper to compute term frequency across documents

2009-10-15 Thread Thomas D'Silva
Grant, I have an index with documents that have a text field containing document text, and a tag field containing tags associated with the document. I am trying to calculate the probability that a document contains a particular word and is tagged with a particular tag. This is related to a MoreLik