mozilla / elasticutils

[deprecated] A friendly chainable ElasticSearch interface for python
http://elasticutils.rtfd.org
BSD 3-Clause "New" or "Revised" License
243 stars 76 forks source link

add support for wildcard indices #271

Open jxstanford opened 9 years ago

jxstanford commented 9 years ago

would be nice to be able to support getting from a pattern of indices. one example for this would be something like the logstash-%Y%d%m style indexing. I generally keep an alias pointing at the index that I want to write to, so you could express a model to index mapping in a way similar to:

{"thing1": {"read": "mydaily*", "write": "my_daily"}}