[Koha-bugs] [Bug 8209] "Did you mean?" suggestions based on authorities

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 2 18:12:18 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8209

Jared Camins-Esakov <jcamins at cpbibliography.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #11292|0                           |1
        is obsolete|                            |

--- Comment #5 from Jared Camins-Esakov <jcamins at cpbibliography.com> ---
Created attachment 11301
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=11301&action=edit
Bug 8209: "Did you mean?" from authorities

One of the ideas behind authority records is that users who search for
one term should have related terms (according to the authority file)
suggested to them. At the moment, Koha doesn't do that. Adding an
authority searching step to regular searches and displaying any
suggestions in a "Did you mean" bar at the top of the results would be
very useful.

This commit adds a Koha::SuggestionEngine class which is in charge of
getting suggestions from individual suggestion engine plugins, which
much be in the Koha::SuggestionEngine::Plugin::* namespace, and extend
Koha::SuggestionEngine::Base. Suggestions are loaded asynchronously
using AJAX, and a link to a page with suggestions is provided for users
with Javascript turned off.

The AuthorityFile suggestion engine plugin looks up the specified search
terms in the authority file and then suggests searches for records using
matching authorities.

Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>
Rebased 2 August 2012 and incorporated QA feedback

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list