[Koha-bugs] [Bug 18213] Add language facets to Elasticsearch
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Mar 4 15:48:42 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18213
Josef Moravec <josef.moravec at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #75971|0 |1
is obsolete| |
Attachment #75972|0 |1
is obsolete| |
Attachment #75973|0 |1
is obsolete| |
Attachment #75974|0 |1
is obsolete| |
--- Comment #23 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 85998
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=85998&action=edit
Bug 18213: Add language facets to Elasticsearch
This patch add language as a facet to ES results - it adds
a new template plugin for languages to get the appropriate
description given an iso 639-2 code
To test:
1 - Make sure you have records with differing languages (in the MARC21 008
field characters 35-37 or UNIMARC 101a)
2 - Apply patch
3 - Reload Elasticsearch settings:
http://localhost:8081/cgi-bin/koha/admin/searchengine/elasticsearch/mappings.pl?op=reset&i_know_what_i_am_doing=1
4 - Reindex your records
5 - Search for a phrase that will return results in several languages
6 - Verify you see factes correctly labelled for 'Language'
7 - Verify the facets work
8 - Verify both opac and staff results
9 - prove t/db_dependent/Languages.t
Signed-off-by: Nicolas Legrand <nicolas.legrand at bulac.fr>
Signed-off-by: Alex Arnaud <alex.arnaud at biblibre.com>
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list