[OPEN-ILS-GENERAL] OpenSearch - Relevance
Daniel Wells
dbwells at gmail.com
Wed Oct 4 12:05:17 EDT 2017
Hello Jim,
I think you may have discovered a bug. By default, the search is already
doing relevance ranking, so you don't need anything extra there. However,
it seems that the search 'class' is being more or less ignored; at least it
does not trigger a title search in your example. You are just getting
relevance ranked 'keyword' search.
The following variation looks like it will honor the title index:
http://evergreen.asburyseminary.edu/opac/extras/opensearch/1.1/ATS/marcxml-full/?ti=Bible+in+Mission&count=25
Does this get you closer?
Sincerely,
Dan
On Wed, Oct 4, 2017 at 10:08 AM, Jim Taylor <jtaylor at jtdata.com> wrote:
> I have still been trying but none of these options or anything else I can
> find sorts by relevance like the OPAC. Is there not any way to do a
> search and get relevant results at the top of the list?
>
> Thanks.
>
> Jim
>
> -----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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20171004/eecef859/attachment.html>
More information about the Open-ils-general
mailing list