title: Show all Elasticsearch aggregation results/buckets and not just 10
body: <p>I'm trying to list all buckets on an aggregation, but it seems to be showing only the first 10.</p>
  
  <p>My search:</p>
  
  <pre><code>curl -XPOST "http://localhost:9200/imoveis/_search?pretty=1" -d'
  {
     "size": 0, 
     "aggregations": {
        "bairro_count": {
           "terms": {
              "field": "bairro.raw"
           }
        }
     }
  }'
  </code></pre>
  
  <p>Returns:</p>
  
  <pre><code>{
    "took" : 2,
    "timed_out" : false,
    "_shards" : {
      "total" : 5,
      "successful" : 5,
      "failed" : 0
    },
    "hits" : {
      "total" : 16920,
      "max_score" : 0.0,
      "hits" : [ ]
    },
    "aggregations" : {
      "bairro_count" : {
        "buckets" : [ {
          "key" : "Barra da Tijuca",
          "doc_count" : 5812
        }, {
          "key" : "Centro",
          "doc_count" : 1757
        }, {
          "key" : "Recreio dos Bandeirantes",
          "doc_count" : 1027
        }, {
          "key" : "Ipanema",
          "doc_count" : 927
        }, {
          "key" : "Copacabana",
          "doc_count" : 842
        }, {
          "key" : "Leblon",
          "doc_count" : 833
        }, {
          "key" : "Botafogo",
          "doc_count" : 594
        }, {
          "key" : "Campo Grande",
          "doc_count" : 456
        }, {
          "key" : "Tijuca",
          "doc_count" : 361
        }, {
          "key" : "Flamengo",
          "doc_count" : 328
        } ]
      }
    }
  }
  </code></pre>
  
  <p>I have much more than 10 keys for this aggregation. In this example I'd have 145 keys, and I want the count for each of them. Is there some pagination on buckets? Can I get all of them?</p>
  
  <p>I'm using Elasticsearch 1.1.0 </p>