I need to return only the facet counts from solr. So I basically want to search over all documents and return the facet counts, but I don't want to return any search results. Is this possible?
Thanks
Setting facet=true will enable faceting and setting rows=0 will prevent any results being returned. Conveniently the numFound will show you how many results were found.
facet=true
rows=0
numFound
2.1m questions
2.1m answers
60 comments
57.0k users