In the mappings.yaml file, under the identifier-other index, the field 024aa is listed. I don't know if the double a can cause a problem, or if it's simply a typo without consequence.
Created attachment 121128 [details] [review] Bug 28380: Elasticsearch - correct 024aa in mappings (MARC21) This patch corrects a typo in the mappings.yaml file To test: 1) Apply patch 2) Reindex using rebuild_elasticsearch.pl -r If you don't have access to a terminal (in a sandbox for example) 2a) Go to Administration > Search engine configuration, click "Reset mappings" and confirm 2b) Then reindex 3) Search for a standard number found in 024$a using the Standard number index in the advanced search
Created attachment 123595 [details] [review] Bug 28380: Elasticsearch - correct 024aa in mappings (MARC21) This patch corrects a typo in the mappings.yaml file To test: 1) Apply patch 2) Reindex using rebuild_elasticsearch.pl -r If you don't have access to a terminal (in a sandbox for example) 2a) Go to Administration > Search engine configuration, click "Reset mappings" and confirm 2b) Then reindex 3) Search for a standard number found in 024$a using the Standard number index in the advanced search Signed-off-by: David Nind <david@davidnind.com>
Hi Caroline. For this one I think you are correct - 24aa is incorrect and this fixes it. Searching using identifier-other=XYZ (where XYZ = a value in 24$a) now works after the patch is applied. In the advanced search form I don't think identifier-other is included in the standard number index, so this didn't work for me (also, I don't really understand how this all works and ties together). David
Created attachment 123674 [details] [review] Bug 28380: Elasticsearch - correct 024aa in mappings (MARC21) This patch corrects a typo in the mappings.yaml file To test: 1) Apply patch 2) Reindex using rebuild_elasticsearch.pl -r If you don't have access to a terminal (in a sandbox for example) 2a) Go to Administration > Search engine configuration, click "Reset mappings" and confirm 2b) Then reindex 3) Search for a standard number found in 024$a using the Standard number index in the advanced search Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Pushed to master for 21.11, thanks to everybody involved!