Re: How to access the information from SolrJ

2009-10-02 Thread Paul Tomblin
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

Re: How to access the information from SolrJ

2009-10-02 Thread Shalin Shekhar Mangar
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

Re: How to access the information from SolrJ

2009-10-02 Thread Paul Tomblin
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

Re: How to access the information from SolrJ

2009-10-02 Thread Adam Allgaier
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

Re: How to access the information from SolrJ

2009-10-02 Thread Shalin Shekhar Mangar
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 =

Re: How to access the information from SolrJ

2009-10-02 Thread Paul Tomblin
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,

Re: How to access the information from SolrJ

2009-10-02 Thread Paul Tomblin
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

How to access the information from SolrJ

2009-10-01 Thread Paul Tomblin
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 

Re: How to access the information from SolrJ

2009-10-01 Thread Noble Paul നോബിള്‍ नोब्ळ्
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