aboutsummaryrefslogtreecommitdiffstats
path: root/tests/files/search/POST_search_agg_date_histogram_missing.txt
blob: 3c9b95c658a34ce9a8b508b60ff2918e62675838 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
POST /sales/_search?size=0
{
  "aggs": {
    "sale_date": {
      "date_histogram": {
        "field": "date",
        "calendar_interval": "year",
        "missing": "2000/01/01" 
      }
    }
  }
}