summaryrefslogtreecommitdiffstats
path: root/tests/files/search/POST_search_agg_max.txt
blob: 1377afc4d0e22924f2edbced30c8fdaffa14415a (plain)
1
2
3
4
5
6
7
8
9
10
11
POST /sales/_search
{
  "aggs" : {
      "grade_max" : {
          "max" : {
              "field" : "grade",
              "missing": 10       
          }
      }
  }
}