I am using an aggregation that looks something like this:
  "aggs": {
    "dates": {
      "date_histogram": {
        "field": "timestamp",
        "interval": "1h"
      },
      "aggs": {
        "birds": {
          "terms": {
            "field": "birds.keyword",
            "min_doc_count": 0
          }
        }
      }
    }
  }
The birds contain e.g. hawk, eagle and duck.
I was expecting the dates that had no "hawk" sightings to return hawk: 0 as a result, but the date buckets do not list the term in case it has 0. I thought this was what min_doc_count was for but it does not work. What's wrong?
