[Koha-bugs] [Bug 27770] ES: Deprecated aggregation order key [_term] used, replaced by [_key]

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 8 15:43:26 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27770

--- Comment #1 from Kevin Carnes <kevin.carnes at ub.lu.se> ---
Created attachment 130290
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130290&action=edit
Bug 27770: ES: Deprecated aggregation order key [_term] used, replaced by
[_key]

Starting in Elasticsearch 6.0 _key should be used instead of _term to order
buckets by their term

To test:
1) Run prove t/db_dependent/Koha/SearchEngine/Elasticsearch/Search.t
2) If you observe an error about types, apply patch for bug 25669
3) Run prove t/db_dependent/Koha/SearchEngine/Elasticsearch/Search.t
4) Observe if you get a deprecation warning about order key
5) Apply patch
6) Run prove t/db_dependent/Koha/SearchEngine/Elasticsearch/Search.t
7) Observe no deprecation warning about order key
8) Sign off

Sponsored-by: Lund University Library

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list