[OPEN-ILS-DEV] Supercat max record setting
Mike Rylander
mrylander at gmail.com
Thu Mar 19 09:24:28 EDT 2009
On Wed, Mar 18, 2009 at 9:10 AM, Duimovich, George
<George.Duimovich at nrcan-rncan.gc.ca> wrote:
> Hello,
>
> Regarding maximum SuperCat record sets -- I can see some settings with this
> demo example:
> http://demo.gapines.org/opac/extras/opensearch/1.1/-/marcxml?searchOrg=PINES&searchTerms=literature&searchClass=keyword
>
> <totalResults>4079</totalResults>
> <startIndex>1</startIndex>
> <itemsPerPage>10</itemsPerPage>
>
> Where is the "itemsPerPage" setting stored/configured, and once accessible
> to someone (say, "XML consumer"), is the number or records per page strictly
> sys admin controlled, or can the user select a larger per page limit (say,
> up to my system configured limit). Or alternately would they be paging
> through results in some manner?
You can page through the results by passing a startPage URL (or form)
parameter, which begins at 1. You can also set the items-per-page by
passing a count URL parameter. There's no "return everything"
parameter, though -- I believe the count param is limited to 100 as a
hard max.
You can see templates for searching by looking at the OpenSearch
Description document:
http://demo.gapines.org/opac/extras/opensearch/1.1/-/osd.xml (Replace
the hostname as appropriate, of course.)
--
Mike Rylander
| VP, Research and Design
| Equinox Software, Inc. / The Evergreen Experts
| phone: 1-877-OPEN-ILS (673-6457)
| email: miker at esilibrary.com
| web: http://www.esilibrary.com
More information about the Open-ils-dev
mailing list