So you are interested in collection frequency of words.
TermsComponent gives you document frequency of terms. You can modify it to give
collection frequency info. http://search-lucene.com/m/of5Fn1PUOHU/
--- On Wed, 1/12/11, Juan Grande wrote:
> From: Juan Grande
> Subject: Re: Term fre
Maybe there is a better solution, but I think that you can solve this
problem using facets. You will get the number of documents where each term
appears. Also, you can filter a specific set of terms by entering a query
like "+field:term1 OR +field:term2 OR ...", or using the facet.query
parameter.