[Koha-bugs] [Bug 24269] New: Authority matching in Elasticsearch is broken when authority has subdivisions
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Dec 18 20:39:59 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24269
Bug ID: 24269
Summary: Authority matching in Elasticsearch is broken when
authority has subdivisions
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P5 - low
Component: Searching - Elasticsearch
Assignee: koha-bugs at lists.koha-community.org
Reporter: nick at bywatersolutions.com
In C4/Heading/MARC21.pm when we call _get_search_heading we look at the heading
and turn some subfields into terms so:
150 $aChess$xOpenings
becomes
'Chess generalsubdiv openings'
126 my %subdivisions = (
127 'v' => 'formsubdiv',
128 'x' => 'generalsubdiv',
129 'y' => 'chronologicalsubdiv',
130 'z' => 'geographicsubdiv',
131 );
267 $heading .= " $subdivisions{$code} $value";
We don't do this when indexing into ES so we will never find matches for these
records
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list