Update existing index template


(Subramanian Shivram) #1

I have an existing template with specific properties that are applied when new indexes are created.
For example, this exists

{
    "final1-template": {
        "order": 0,
        "template": "final-*",
        "settings": {},
        "mappings": {
            "userjourney": {
                "properties": {
                    "method": {
                        "type": "text"
                    },
                    "page-uuid": {
                        "type": "integer"
                    }
                }
            }
}

In the above, I want to add a new 'mapping'. Is this possible?

{
"final1-template": {
"order": 0,
"template": "final-*",
"settings": {},
"mappings": {
"userjourney": {
"properties": {
"method": {
"type": "text"
},
"page-uuid": {
"type": "integer"
}
"newABC": {
"type": "integer"
}
}
}
}


(Mark Walkom) #2

What have you tried? Did you get errors, what were they?


(system) #3

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