Koha-clms/Koha/SearchEngine/Elasticsearch
Kevin Carnes 3f99d8dc66 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
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 2cd93d8ea6)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
2022-03-20 14:17:12 +00:00
..
Browse.pm Bug 24823: Remove unused parameters 2020-05-12 11:43:30 +01:00
Indexer.pm Bug 26312: (follow-up) Fix passing of exception messages 2021-04-16 11:48:31 +02:00
QueryBuilder.pm Bug 27770: ES: Deprecated aggregation order key [_term] used, replaced by [_key] 2022-03-20 14:17:12 +00:00
Search.pm Bug 28826: Add FacetOrder system preference 2021-10-08 09:30:31 -04:00