You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Savvas-Andreas Moysidis <sa...@googlemail.com> on 2010/11/24 12:12:55 UTC

Bug in solrJ when retrieving results?

Hello,

We think we've come across a bug in solrj?

The following is a toString() dump of a QueryResponse object we are getting:
{responseHeader={status=0,QTime=0,params={sort=creationDate
asc,start=30,q=songTitle:(mad dog) AND creationDate:[1237507200000 TO
1238025599999],wt=javabin,rows=10,version=1}},response={numFound=2,start=30,docs=[]}}

Isn't there something wrong with the *numFound = 2 - docs=[]* part?

We are using solr-solrj 1.4.1 and the related fields have been defined as:
<field name="songTitle" type="text" indexed="true" stored="false"
required="false" />
<field name="creationDate" type="tlong" indexed="true" stored="false"
required="false" />

Any thoughts or a workaround for that much appreciated.

Cheers,
-- Savvas

Re: Bug in solrJ when retrieving results?

Posted by "savvas.andreas" <sa...@googlemail.com>.
no worries..got it..

my bad, it's the start=30 that's causing the problem..

my apologies to the solrj team :D
-- 
View this message in context: http://lucene.472066.n3.nabble.com/Bug-in-solrJ-when-retrieving-results-tp1960012p1960090.html
Sent from the Solr - User mailing list archive at Nabble.com.