Skip to content

7.10 no longer accepts boost mapping on some properties #64982

@Mpdreamz

Description

@Mpdreamz
PUT /index-a


PUT /index-a/_mapping
{"properties":{"numberOfCommits":{"boost":1.5,"coerce":true,"ignore_malformed":true,"index":false,"null_value":0.0,"doc_values":true,"similarity":"BM25","store":true,"type":"integer"}}}

on 7.9.0 returns:

{
  "acknowledged" : true
}

In 7.10.0

{
  "error" : {
    "root_cause" : [
      {
        "type" : "mapper_parsing_exception",
        "reason" : "unknown parameter [boost] on mapper [numberOfCommits] of type [integer]"
      }
    ],
    "type" : "mapper_parsing_exception",
    "reason" : "unknown parameter [boost] on mapper [numberOfCommits] of type [integer]"
  },
  "status" : 400
}

This happens for all number type mappings, ip and token_count property mappings.

Metadata

Metadata

Assignees

Labels

:Search/SearchSearch-related issues that do not fall into other categories>breaking>bugTeam:SearchMeta label for search team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions