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.
2009/10/2
On Fri, Oct 2, 2009 at 8:11 PM, Paul Tomblin ptomb...@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
On Fri, Oct 2, 2009 at 3:13 PM, Shalin Shekhar Mangar
shalinman...@gmail.com wrote:
On Fri, Oct 2, 2009 at 8:11 PM, Paul Tomblin ptomb...@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
the information from SolrJ
On Fri, Oct 2, 2009 at 3:13 PM, Shalin Shekhar Mangar
shalinman...@gmail.com wrote:
On Fri, Oct 2, 2009 at 8:11 PM, Paul Tomblin ptomb...@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
On Sat, Oct 3, 2009 at 1:09 AM, Paul Tomblin ptomb...@xcski.com wrote:
Nope. Check again. getNumFound will definitely give you 1251.
SolrDocumentList#size() will give you 10.
I don't have to check again. I put this log into my query code:
QueryResponse resp =
LucidityWorks.com is my client. The similarity to lucid is purely coincidental
- the client didn't even know I was going to choose Solr. I am using Solr
trunk, last updated and compiled a few weeks ago.
-- Sent from my Palm Prē
Shalin Shekhar Mangar wrote:
On Sat, Oct 3, 2009 at 1:09 AM,
On Fri, Oct 2, 2009 at 5:04 PM, Shalin Shekhar Mangar
shalinman...@gmail.com wrote:
Can you try this with the Solrj client
in the official 1.3 release or even trunk?
I did a svn update to 821188 and that seems to have fixed the problem.
(The jar files changed from -1.3.0 to -1.4-dev) I guess
When I do a query directly form the web, the XML of the response
includes how many results would have been returned if it hadn't
restricted itself to the first 10 rows:
For instance, the query:
http://localhost:8080/solrChunk/nutch/select/?q=*:*fq=category:mysites
returns:
response
lst
QueryResponse#getResults()#getNumFound()
On Thu, Oct 1, 2009 at 11:49 PM, Paul Tomblin ptomb...@xcski.com wrote:
When I do a query directly form the web, the XML of the response
includes how many results would have been returned if it hadn't
restricted itself to the first 10 rows:
For