You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by nithyavembu <ni...@yahoo.co.in> on 2008/01/20 08:37:57 UTC

How to get more than 10 records at a time in solr?

Hi All,

  I am facing some problem in retrieving records during solr search.
  I have a data base which contains more than 1 lakh records.
  When i search for a word say "international", it returns the hitcount as
25 from the solr server. But its not returning 25 records at a time. At a
time it displaying only 10 records. As i came to know that, by default solr
will return 10 rows/records. Even i specified the start index as "0" and row
as "20" in the http request query. But its not returning 25 records. Whether
i have to change and mentioned anything in solrconfig.xml configuration??
  
   Please help me out.
   Thanks in advance.

Regards,
V.Nithya.


-- 
View this message in context: http://www.nabble.com/How-to-get-more-than-10-records-at-a-time-in-solr--tp14979250p14979250.html
Sent from the Solr - Dev mailing list archive at Nabble.com.


Re: How to get more than 10 records at a time in solr?

Posted by Ryan McKinley <ry...@gmail.com>.
try the 'rows' parameter:

http://wiki.apache.org/solr/CommonQueryParameters#head-da5370813ade4b2fc8aa5037b3fcd5562ef0179e


nithyavembu wrote:
> Hi All,
> 
>   I am facing some problem in retrieving records during solr search.
>   I have a data base which contains more than 1 lakh records.
>   When i search for a word say "international", it returns the hitcount as
> 25 from the solr server. But its not returning 25 records at a time. At a
> time it displaying only 10 records. As i came to know that, by default solr
> will return 10 rows/records. Even i specified the start index as "0" and row
> as "20" in the http request query. But its not returning 25 records. Whether
> i have to change and mentioned anything in solrconfig.xml configuration??
>   
>    Please help me out.
>    Thanks in advance.
> 
> Regards,
> V.Nithya.
> 
>