]> 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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 5 Mar 2019 14:50:59 +0000 (14:50 +0000)
commit68b129e0c4fc52e953a10ad7f769a79f3498b769
tree918f13edb1c5140640d4c3d3cf8d290d1f93e061
parentdb36421446fcdb40ac6aeeca3a7b7cb4a6711bda
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>
(cherry picked from commit 6d53910f0ca05ae41b0d10ce6f3eb274efd3aca4)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.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