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 mechanisms should speed up the request for
next page.

Cheers,

On Nov 20, 2007 10:27 AM, Dave C. <[EMAIL PROTECTED]> wrote:
> 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:<some number>" 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 than parsing the response stream/string?
>
> Thanks a lot,
> David
>
> _________________________________________________________________
> Share life as it happens with the new Windows Live.Download today it's FREE!
> http://www.windowslive.com/share.html?ocid=TXT_TAGLM_Wave2_sharelife_112007



-- 
Regards,

Cuong Hoang

Reply via email to