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 <[email protected]> To: Milka Doktorova <[email protected]>; Evergreen Discussion Group <[email protected]> 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 <[email protected]> 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: [email protected] | web: http://www.esilibrary.com
