]> git.koha-community.org Git - koha.git/commit
Bug 31537: Elasticsearch - index mapping for 003 control-number-identifier is twice...
authorCaroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>
Thu, 8 Sep 2022 15:54:19 +0000 (11:54 -0400)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 12 Sep 2022 18:33:20 +0000 (15:33 -0300)
commit3affdad4c2e478e9df0ce06306daacc27925f0ce
treea591d00b43737281a81dc43ee23cb6d57706dc04
parentca6c132bace1b8e3ef770fb376e0101c8bfd7cd8
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@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
admin/searchengine/elasticsearch/mappings.yaml