]> git.koha-community.org Git - koha.git/commit
Bug 19575: Use canonical field names and resolve aliased fields
authorDavid Gustafsson <david.gustafsson@ub.gu.se>
Fri, 3 Nov 2017 12:21:22 +0000 (13:21 +0100)
committerroot <root@f1ebe1bec408>
Mon, 4 Mar 2019 18:25:49 +0000 (18:25 +0000)
commit6d53910f0ca05ae41b0d10ce6f3eb274efd3aca4
tree8d34e5cf6f3af7c1ed5070d7625fd7655bf83510
parent2331b8a295ce3db011b88bf3d42eacd42c9df4ee
Bug 19575: Use canonical field names and resolve aliased fields

Adjust elastic search mappings to more closely match Zebra equivalents
resolving serveral issues with coded Zebra searches in templates and
sorting of search results in UI. Also make field names in search strings
case insensitive to accept case variations in template links and user input.

Sponsored-by: Gothenburg University Library
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Ere Maijala <ere.maijala@helsinki.fi>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/SearchEngine/Elasticsearch.pm
Koha/SearchEngine/Elasticsearch/QueryBuilder.pm
Koha/SearchEngine/Elasticsearch/Search.pm
admin/searchengine/elasticsearch/mappings.yaml
installer/data/mysql/atomicupdate/bug_19575-use-canonical-field-names-and-resolve-aliased-fields.sql [new file with mode: 0644]
t/db_dependent/Koha/SearchEngine/Elasticsearch/QueryBuilder.t