aparo / pyes

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

KeyError on Indices.get_indices #381

Closed afrancais closed 5 years ago

afrancais commented 10 years ago

Calling Indices.get_indices may raise a KeyError if metadata of an index are not generated.

This case may happen when an index is being created (by another process) while the call of get_indices (for example, a new index created by logstash).