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

Do not raise KeyError on Indices.get_indices #382

Closed afrancais closed 10 years ago

afrancais commented 10 years ago

On an index recently created, index metadata can not be ready in ES (for example, a logstash index being created by the current stack). get_indices method should not fail, especially if include_aliases is False.

Fixes issue #381