Re: Pagination with solr json data

2009-09-10 Thread Jay Hill
All you have to do is use the "start" and "rows" parameters to get the results you want. For example, the query for the first page of results might look like this, ?q=solr&start=0&rows=10 (other params omitted). So you'll start at the beginning (0) and get 10 results. They next page would be ?q=sol

Pagination with solr json data

2009-09-09 Thread Elaine Li
Hi, What is the best way to do pagination? I searched around and only found some YUI utilities can do this. But their examples don't have very close match to the pattern I have in mind. I would like to have pretty plain display, something like the search results from google. Thanks. Elaine

Re: Pagination with Solr

2008-11-23 Thread lupiss
ok! gracias ryguasu por tu respuesta, mira que ahora que recuerdo si hay un setStart y setRows trataré con eso y espero poder terminar mi proyecto, 1000 gracias =) -- View this message in context: http://www.nabble.com/Pagination-with-Solr-tp13847908p20650529.html Sent from the Solr - User

Re: Pagination with Solr

2008-11-21 Thread Chris Harris
> View this message in context: > http://www.nabble.com/Pagination-with-Solr-tp13847908p20628504.html > Sent from the Solr - User mailing list archive at Nabble.com. > >

Re: Pagination with Solr

2008-11-21 Thread lupiss
estoy usando solrj y puedo obtener el numfound, sin embargo no puedo obtener todos los resultados =(, hay alguien que pueda ayudarme? gracias =) -- View this message in context: http://www.nabble.com/Pagination-with-Solr-tp13847908p20628504.html Sent from the Solr - User mailing list archive at

Re: Pagination with Solr

2007-11-20 Thread Chris Hostetter
: What I'm trying is to parse the response for "numFound:" : and if this number is greater than the "rows" parameter, I send another : search request to Solr with a new "start" parameter. Is there a better : way to do this? Specifically, is there another way to obtain the : "numFound" rather

Re: Pagination with Solr

2007-11-19 Thread climbingrose
Hi David, Do you use one of Solr client available http://wiki.apache.org/solr/IntegratingSolr? These clients should probably have done all the XML parsing jobs for you. I speak from Solrj experience. IMO, your approach is probably most commonly used when it comes to pagination. Solr caching mecha

Pagination with Solr

2007-11-19 Thread Dave C .
Hello again, I'm trying to accomplish very basic pagination with my Solr search results. What I'm trying is to parse the response for "numFound:" and if this number is greater than the "rows" parameter, I send another search request to Solr with a new "start" parameter. Is there a better way to