aboutsummaryrefslogtreecommitdiffstats
path: root/tests/files/search/GET_search_agg_composite_histogram.txt
blob: 3bace1421ac22a792cc4d1b5cca0a3c8b618e486 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
GET /some-index/_search
{
  "size": 0,
  "aggs": {
    "my_buckets": {
      "composite": {
        "sources": [
          { "histo": { "histogram": { "field": "price", "interval": 5 } } }
        ]
      }
    }
  }
}