Bug 27771

Summary: ES: The parameter include_type_name should be explicitly specified in put mapping requests to prepare for 7.0.
Product: Koha Reporter: Victor Grousset/tuxayo <victor>
Component: Searching - ElasticsearchAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P5 - low CC: kevin.carnes
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on:    
Bug Blocks: 25439    

Description Victor Grousset/tuxayo 2021-02-24 12:13:52 UTC
Will be needed for ES 7

prove t/db_dependent/Koha/SearchEngine/Elasticsearch/Search.t

[DEPRECATION] [types removal] The parameter include_type_name should be explicitly specified in put mapping requests to prepare for 7.0. In 7.0 include_type_name will default to 'false', and requests are expected to omit the type name in mapping definitions. - In request: {body => {data => {properties => {itemnumber => {type => "integer"},sortablenumber => {type => "integer"},sortablenumber__sort => {type => "integer"},subject => {type => "text"},title => {type => "text"},title__sort => {type => "text"}}}},ignore => [],method => "PUT",mime_type => "application/json",path => "/koha_kohadev_mydb/_mapping/data",qs => {},serialize => "std"}
Comment 1 Kevin Carnes 2022-02-08 14:45:09 UTC
Is this a duplicate of bug 25669?
Comment 2 Victor Grousset/tuxayo 2022-02-11 19:22:47 UTC
I opened the ticket based on the messages, as I don't know much about ES it could indeed be a duplicate.
Comment 3 Victor Grousset/tuxayo 2022-02-18 14:26:09 UTC
I guess it's a dupe. With the patches of the other tickets applied I got no warning on the test :D

*** This bug has been marked as a duplicate of bug 25669 ***