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
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
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
> 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.
>
>
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
: 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
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
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