Bug 27771 - ES: The parameter include_type_name should be explicitly specified in put mapping requests to prepare for 7.0.
Summary: ES: The parameter include_type_name should be explicitly specified in put map...
Status: RESOLVED DUPLICATE of bug 25669
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching - Elasticsearch (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact:
URL:
Keywords:
Depends on:
Blocks: 25439
  Show dependency treegraph
 
Reported: 2021-02-24 12:13 UTC by Victor Grousset/tuxayo
Modified: 2022-02-18 14:26 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***