lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shalin Shekhar Mangar <shalinman...@gmail.com>
Subject Re: How to access the information from SolrJ
Date Fri, 02 Oct 2009 19:13:28 GMT
On Fri, Oct 2, 2009 at 8:11 PM, Paul Tomblin <ptomblin@xcski.com> wrote:

> Nope, that just gets you the number of results returned, not how many
> there could be.  Like I said, if you look at the XML returned, you'll
> see something like
> <result name='response' numFound='1251' start='0'>
> but only 10 <doc> returned.  getNumFound returns 10 in that case, not 1251.
>
>
>
Nope. Check again. getNumFound will definitely give you 1251.
SolrDocumentList#size() will give you 10.

-- 
Regards,
Shalin Shekhar Mangar.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message