[Koha-bugs] [Bug 26051] Elasticsearch field local-classification must be sortable
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jul 23 14:55:41 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26051
--- Comment #1 from Fridolin SOMERS <fridolin.somers at biblibre.com> ---
Created attachment 107237
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=107237&action=edit
Bug 26051: Elasticsearch field local-classification sort=1 in mapping.yaml
With Elasticsearch the search field use for sorting by callnumber is
"local-classification" (from
Koha::SearchEngine::Elasticsearch::QueryBuilder::_convert_sort_fields).
So this search field must be sortable in default mappings.yaml.
If not you see this error in logs :
No mapping found for [local-classification__sort]
Test plan :
1) Install Koha with Elasticsearch with mappings.yaml from sources
(admin/searchengine/elasticsearch/mappings.yaml)
2) Reset mappings
3) Rebuild indexes
4) Perform a search
5) Check sorting by callnumber is OK
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list