public SolrQuery SolrQuery::setTermsMaxCount    ( int $frequency   )

SolrQuery::setTermsMaxCountSets the maximum document frequency

frequency

The maximum document frequency.