Why this is showing differently in mappings?


(Srini) #1

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


(Srini) #2

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


(system) #3

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