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

Adding 'extended_bounds' arg for Histogram related aggregations. #488

Closed jjhuang closed 9 years ago

jjhuang commented 9 years ago

Added argument for 'extended_bounds' for Histogram and Date Histogram aggregations (https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-histogram-aggregation.html#search-aggregations-bucket-histogram-aggregation-extended-bounds).

Also did some minor pyflakes work.