Weird replication auto altering mapping behavior [Solved]

Hello everyone,

I encoutered a very strange behavior causing query error due to invalid type.
On a project I create several indexes with the same mapping, but different names

    "anSampleOriginalIndex" : {
    "mappings" : {
      "properties" : {
        "action" : {
          "type" : "keyword",
        },
        "device_type" : {
          "type" : "keyword",
        },
    }
}

But some indexes found out with this mapping

"indexAltered" : {
    "mappings" : {
      "properties" : {
        "action" : {
          "type" : "text",
          "fields" : {
            "keyword" : {
              "type" : "keyword",
              "ignore_above" : 256
            }
          }
        },
        "device_type" : {
          "type" : "text",
          "fields" : {
            "keyword" : {
              "type" : "keyword",
              "ignore_above" : 256
            }
          }
        },
    }
}

As you can see all my properties became text with a keyword field instead of the original mapping.
Dynamic mapping is disabled on each index.
The only difference I notified in kibana' index management page, it's replica for the altered mapping indexes was set to 1.

How come it be possible without dynamic mapping?

Thanks in advance!

I reply to my self, i feel very stupid!
My admin never create this indexes so, it's not about dynamic mapping on index but dynamic index created

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