[Koha-bugs] [Bug 25669] ElasticSearch 6: [types removal] Specifying types in put mapping requests is deprecated (incompatible with 7)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 23 15:45:54 CET 2022


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

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

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

--- Comment #11 from Kevin Carnes <kevin.carnes at ub.lu.se> ---
Created attachment 131037
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131037&action=edit
Bug 25669: ElasticSearch 6: [types removal] Specifying types in put mapping
requests is deprecated (incompatible with 7)

Starting with version 7.0 of Elasticsearch type names should not be used and
in version 6.8 there is a warning if you don't use include_type_name when
using put_mapping (requires Search::Elasticsearch at 6.8).

To test:
1) Run prove t/db_dependent/Koha/SearchEngine/Elasticsearch/Search.t
2) Observe any deprecation warnings or errors about types
3) Apply patch
4) Install Search::Elasticsearch with the same version as Elasticsearch
5) If testing with ES7, enable elasticsearch_no_type in koha-conf.xml
6) Run prove t/db_dependent/Koha/SearchEngine/Elasticsearch/Search.t
7) Observe no warning or errors about types
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