aparo / pyes

Python connector for ElasticSearch - the pythonic way to use ElasticSearch
BSD 3-Clause "New" or "Revised" License
607 stars 270 forks source link

Error happened when using "conn.indices.delete_mapping" #509

Closed mavarick closed 8 years ago

mavarick commented 8 years ago

I create index and doc_type as "/test_index/test_doc", then i want to delete mapping 'test_doc', but error is throwed out as below with\ "conn.indices.delete_mapping('test_index', 'test_doc')" ** pyes.exceptions.ElasticSearchException: No handler found for uri [/test_index/test_doc] and method [DELETE]

where is the problem?

mavarick commented 8 years ago

does anyone use this functions?

mavarick commented 8 years ago

see: https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking_20_removed_features.html This feature has been removed from new version.