How to get total match count in Solr/lucene
I have a problem that i want to get total count of matched text in solr. but when i want to perform search using solr i have to set max rows parameter. can anybody explain how i could get开发者_开发技巧 the total matched count using solr efficiently?
You can get the total result count, independently from max rows defined, through the numFound attribute in the Solr response.
精彩评论