Bug 28381: Elasticsearch - Add 710 and 711 to default mappings for author index ...
authorCaroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>
Tue, 18 May 2021 21:12:34 +0000 (17:12 -0400)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 16 Aug 2021 07:56:45 +0000 (09:56 +0200)
commitba30e6a8d9e1f952939c4f6ab8079c46e3efac40
treed764d6df9a695387e87c4c83de6638ef8d2fb38b
parentdc673a85afa27bfac5ad6bd5194d015143e0664f
Bug 28381: Elasticsearch - Add 710 and 711 to default mappings for author index (MARC21)

This patch adds fields 710$a and 711$a to the default author mappings for elasticsearch indexing.

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 an author name found only in 710 using the Author index
in advanced search
4) Repeat search for an author name in 711

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
admin/searchengine/elasticsearch/mappings.yaml