Persistant mapping after deleting index (SOLVED - it was a template) [noob]


#1

Hi,

I'm learning to ES and Logstash, and because I need to plot geopoints to the map, I've somehow created this mapping:

{
  "mapping": {
    "_doc": {
      "properties": {
        "location": {
          "type": "geo_point"
        }
      }
    }
  }
}

However this prevents to create/save documents to the index and I'd like to delete this mapping. Regarding to the documentation, I can't do that. I can delete the whole index and I did that but after I put some new data to the ES, the new index (with the same name) contains this mapping again.

Other indexes works good and their default mapping is different, so I think problem lays here...


#2

got it: DELETE _template/somename


(system) #3

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