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 nutchsolruser <nu...@gmail.com> on 2012/03/19 10:27:26 UTC
SolrJ : Size of solr Results
Hi All,
QueryResponse rsp = solrServer.query( query );
SolrDocumentList docs = rsp.getResults();
here i am getting docs.size() is 100 how can i change the size. or is there
any other way to iterate docs above 100. i am stucked here.
Thanks,
myauu
--
View this message in context: http://lucene.472066.n3.nabble.com/SolrJ-Size-of-solr-Results-tp3838555p3838555.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: SolrJ : Size of solr Results
Posted by nutchsolruser <nu...@gmail.com>.
Hey iorixxx,
Thank you.
--
View this message in context: http://lucene.472066.n3.nabble.com/SolrJ-Size-of-solr-Results-tp3838555p3838877.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: SolrJ : Size of solr Results
Posted by Ahmet Arslan <io...@yahoo.com>.
> QueryResponse rsp = solrServer.query( query );
> SolrDocumentList docs = rsp.getResults();
>
> here i am getting docs.size() is 100 how can i change the
> size. or is there
> any other way to iterate docs above 100. i am stucked here.
By rows and start parameter. query.setStart(0); query.setRows(50);
SolrQuery.setRows(java.lang.Integer)