开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜