Why this is showing differently in mappings?

Hello,

I have [1] in my schema. But when I look at _mappings, it is showing as [2]. Why those extra added? Is it expected? How to stop this change?

[1]

"banner_image": {
  "properties": {
    "id": {
      "type": "keyword"
    }
  }
}

[2]

    "banner_image": {
      "properties": {
        "id": {
          "type": "text",
          "fields": {
            "keyword": {
              "type": "keyword",
              "ignore_above": 256
            }
          }
        }
      }
    }

Thanks
Srini

Found the answer: https://www.elastic.co/blog/strings-are-dead-long-live-strings

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.