Yes, you are right. Ignore the query (document:*), it wont matter if i have it for termscomponent i guess.
I've compiled current source from head, but also tried on 1.4.1. Any idea how to go about finding a solution to this? Thanks, Ravish On Sun, Feb 27, 2011 at 1:56 PM, Ahmet Arslan <iori...@yahoo.com> wrote: > > I want to produce frequency analysis of all tokens inside > > my solr Index from > > a specific (content) field. > > > > When I use TermsComponent or FacetCounts, what I get is how > > many records or > > documents each term appears in (which again confuses me as > > to what the > > difference is, is it facets are restricted to terms in > > result set and > > termscomponent is not restricted by the query?). Is > > there yet a way to get > > total terms count (not per document but across the whole > > index)? > > Terms Component does not respect &q= parameter. In other words, it is not > restricted by the query. > > > I have > > tried searching in archieves and across web but closest > > match I found is > > this: http://search-lucene.com/m/of5Fn1PUOHU/ > > > > It is suggested in this post that I can post the mentioned > > lines of code > > into TermsComponent.java and it should work. However, > > the code seems to > > have changed since and when I try this, the Class TermDocs > > is not even > > recognized. > > What version of solr are you using? > > > > >