[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
Wed Feb 9 09:42:59 CET 2022


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

Kevin Carnes <kevin.carnes at ub.lu.se> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #130290|0                           |1
        is obsolete|                            |

--- Comment #3 from Kevin Carnes <kevin.carnes at ub.lu.se> ---
Created attachment 130342
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130342&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 watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list