[OPEN-ILS-GENERAL] queries
Milka Doktorova
dokto20m at yahoo.com
Tue Aug 16 11:39:30 EDT 2011
These methods are good (like the open-ils.search.biblio.multiclass.query for instance) but how exactly can I use them? Is there something like a guide online?
________________________________
From: Mike Rylander <mrylander at gmail.com>
To: Milka Doktorova <dokto20m at yahoo.com>; Evergreen Discussion Group <open-ils-general at list.georgialibraries.org>
Sent: Sunday, August 14, 2011 3:11 PM
Subject: Re: [OPEN-ILS-GENERAL] queries
On Sun, Aug 14, 2011 at 2:23 PM, Milka Doktorova <dokto20m at yahoo.com> wrote:
> Hi,
> I am working on a project in which I want to make automated queries to a
> library database and for each query, get the total number of results (i.e.
> items in the catalog that contain the keywords from the query) . Can I do
> this using Evergreen and if so, where should I start from?
The most useful API methods for these sorts of things will be in the
search application. Here are some documented methods that the OPAC
and Staff Client use:
http://acq.open-ils.org/opac/extras/docgen.xsl?service=open-ils.search¶m=%22(?:biblio.multiclass)|(?:biblio.+copy_count)%22&offset=0&limit=25
There's a lot more than a single, simple SQL query happening -- you'll
need to use higher level APIs to get results that bear any relation to
what a user would see.
--
Mike Rylander
| Director of Research and Development
| Equinox Software, Inc. / Your Library's Guide to Open Source
| phone: 1-877-OPEN-ILS (673-6457)
| email: miker at esilibrary.com
| web: http://www.esilibrary.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20110816/0c9c32e6/attachment.htm>
More information about the Open-ils-general
mailing list