In the current default index mappings, copydate only includes 260$c. I think it should also include 264$c which is used as much as, if not more than, 260$c.
Created attachment 121126 [details] [review] Bug 28378: Elasticsearch - Add 264c to default copydate mappings (MARC21) This patch adds 264$c to the default mapping for the copydate index. To test: 1) Apply patch 2) Reindex using rebuildelasticsearch.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 copyright date found in 264$c
Created attachment 123567 [details] [review] Bug 28378: Elasticsearch - Add 264c to default copydate mappings (MARC21) Signed-off-by: David Nind <david@davidnind.com>
Not sure what I did again when signing off...patch description is not the same as in Bugzilla.
Created attachment 123673 [details] [review] Bug 28378: Elasticsearch - Add 264c to default copydate mappings (MARC21) 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!