[Koha-bugs] [Bug 31537] Elasticsearch - index mapping for 003 control-number-identifier is twice in mappings.yaml

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 8 18:13:14 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31537

--- Comment #1 from Caroline Cyr La Rose <caroline.cyr-la-rose at inlibro.com> ---
Created attachment 140351
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=140351&action=edit
Bug 31537: Elasticsearch - index mapping for 003 control-number-identifier is
twice in mappings.yaml

This patch removes one of the two mappings for the 003 field to the
control-number-identifier index (for MARC21).

To test:
1) Apply patch
2) reindex with mappings reset
3) try to search for cni:code (for example cni:OSt)
--> it should return the desired results
4) try to search for control-number-identifier:code (for example
control-number-identifier:OSt)
--> it should return the desired results
5) Optionally, try the test plan in Bug 11175 to make sure it still
works

-- 
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