[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 22:37:38 CEST 2022


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

David Nind <david at davidnind.com> changed:

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

--- Comment #3 from David Nind <david at davidnind.com> ---
Created attachment 140355
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=140355&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

Signed-off-by: David Nind <david at davidnind.com>

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


More information about the Koha-bugs mailing list