[Koha-bugs] [Bug 22339] Elasticsearch - fixed field mappings should match MARC ranges
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Apr 12 15:00:24 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22339
Björn Nylén <bjorn.nylen at ub.lu.se> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #86597|0 |1
is obsolete| |
--- Comment #7 from Björn Nylén <bjorn.nylen at ub.lu.se> ---
Created attachment 87905
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=87905&action=edit
Bug 22339: Fix search field mappings of MARC fixed fields
Fixes handling of /0 selector in addition to several fixed field positions.
Note that ff7-01-02 is in fact 00-01 in Zebra and that has been replicated
here.
Test plan:
1. Before applying a patch, check from Elasticsearch (e.g.
localhost:9200/koha_biblios/_search?q=_id:123) what is indexed in Elasticsearch
for a record for date-entered-on-file, ff7-00, ff7-01, ff7-02 and lleader.
2. Apply the patch, update database and save the record again.
3. Verify that the contents of the forementioned fields is now correct in
Elasticsearch.
4. Verify that tests pass: prove -v t/Koha/SearchEngine/Elasticsearch.t
Signed-off-by: Björn Nylén <bjorn.nylen at ub.lu.se>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list