mozilla/elasticutils — pull request #71 by willkg (2012-09-07 20:43:13+00:00)
Title: Issue 70. Fix date_histogram handling.

* add handling for date_histogram in facet_counts
* fix facet_counts to raise an exception rather than silently act
dumb if it doesn't recognize the _type

The code here isn't super great, but it fixes the problem @mythmon was having with fjord and is technically correct.

r?