[OPEN-ILS-GENERAL] OpenSearch - Relevance

Jim Taylor jtaylor at jtdata.com
Mon Jul 31 18:38:13 EDT 2017


Thanks.

-----Original Message-----
From: Open-ils-general [mailto:open-ils-general-bounces at list.georgialibraries.org] On Behalf Of Mike Rylander
Sent: Monday, July 31, 2017 4:08 PM
To: Evergreen Discussion Group <open-ils-general at list.georgialibraries.org>
Subject: Re: [OPEN-ILS-GENERAL] OpenSearch - Relevance

Jim,

You might try using the slimpac interface to do some searches and see how to build OpenSearch URLs in Evergreen:
http://evergreen.asburyseminary.edu/opac/en-US/extras/slimpac/start.html
-- that interface sits directly on top of OpenSearch, and just uses an XSLT to transform the ATOM output to HTML.

Since you've looked at opensearch.org, you probably know about OSD files.  Yours is at http://evergreen.asburyseminary.edu/opac/extras/opensearch/1.1/ATS/-/osd.xml
and it can help you construct URLs as well.

Note, if you're searching for a specific phrase, you can enclose it in double quotes to make sure you get the title you are looking for.

Finally, OpenSearch uses the same backend for searching as the OPAC, you'll just need to construct the URLs a little differently.

HTH,

--
Mike Rylander
 | President
 | Equinox Open Library Initiative
 | phone:  1-877-OPEN-ILS (673-6457)
 | email:  miker at equinoxinitiative.org
 | web:  http://equinoxinitiative.org


On Mon, Jul 31, 2017 at 3:51 PM, Jim Taylor <jtaylor at jtdata.com> wrote:
> Hoping someone can tell me how to get useful results from opensearch.  
> I submit a search such as the following…
>
>
>
> http://evergreen.asburyseminary.edu/opac/extras/opensearch/1.1/ATS/mar
> cxml-full/title/Bible+in+Mission?count=25
>
>
>
> but I have to go to the 5th page to find this title.   Is there a way to
> tell opensearch to sort by relevance?
>
>
>
> I’ve looked at opensearch.org but not seeing anything helpful and 
> can’t find anything the Evergreen documentation that applies…may just 
> not be doing the right search of course.
>
>
>
> Open to other suggestions as well.  I have tried
>
>
>
>
> http://evergreen.asburyseminary.edu/opac/extras//browse/mods/title/ASL
> AN/Bible%20in%20Mission?count=20
>
>
>
> and it works much faster unless there are no results and then it can 
> take about 45 seconds to get a response.  The results seem far more 
> appropriate but not as good as what is returned in the OPAC and the 45 
> second delay for no results is a non-starter for that approach.
>
>
>
> Are there any other options or ways to make the above work better and
> faster?   Any way to return the OPAC search results in an XML format?
>
>
>
> Any other suggestions or links to documentation for the above that 
> might shine some light in my vast dark cavern of ignorance?
>
>
>
> Thanks.
>
>
>
>
>
> Jim




More information about the Open-ils-general mailing list