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 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 it's been longer sinc

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, Paul

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 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 = solrChunkServer.query(que

Re: How to access the information from SolrJ

2009-10-02 Thread Adam Allgaier
We have the same issue as Paul. We currently parse the XML manually to pull out the numFound from the response. Cheers! Adam - Original Message From: Paul Tomblin To: solr-user@lucene.apache.org Sent: Friday, October 2, 2009 2:39:01 PM Subject: Re: How to access the information

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 wrote: > On Fri, Oct 2, 2009 at 8:11 PM, Paul Tomblin 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 >> >> but o

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 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 > > but only 10 returned. getNumFound returns 10 in that case, not 1251. > >

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 but only 10 returned. getNumFound returns 10 in that case, not 1251. 2009/10/2 Noble Paul നോബിള്‍ नोब्ळ् : > QueryResponse#getResults(

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 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 instance, the query:

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: 0 0 *:* category:mys