Re: SolrDocumentList Size vs NumFound

2011-01-26 Thread Markus Jelsma
Hi, If your query yields 1000 documents and the rows parameter is 10 then you'll get only 10 documents. Consult the wiki on the start and rows parameters: http://wiki.apache.org/solr/CommonQueryParameters Cheers. > Dear all, > > I got a weird problem. The number of searched documents is much

SolrDocumentList Size vs NumFound

2011-01-26 Thread Bing Li
Dear all, I got a weird problem. The number of searched documents is much more than 10. However, the size of SolrDocumentList is 10 and the getNumFound() is the exact count of results. When I need to iterate the results as follows, only 10 are displayed. How to get the rest ones?