{
  "took":0,
  "timed_out":false,
  "_shards":{
    "total":5,
    "successful":5,
    "skipped":0,
    "failed":0
  },
  "hits":{
    "total":30,
    "max_score":0.0,
    "hits":[
      {
        "_index":"bank",
        "_type":"account",
        "_id":"108",
        "_score":0.0,
        "_source":{
          "account_number":108,
          "balance":19015,
          "firstname":"Christensen",
          "lastname":"Weaver",
          "age":21,
          "gender":"M",
          "address":"398 Dearborn Court",
          "employer":"Quilk",
          "email":"christensenweaver@quilk.com",
          "city":"Belvoir",
          "state":"TX"
        }
      },
      {
        "_index":"bank",
        "_type":"account",
        "_id":"383",
        "_score":0.0,
        "_source":{
          "account_number":383,
          "balance":48889,
          "firstname":"Knox",
          "lastname":"Larson",
          "age":28,
          "gender":"F",
          "address":"962 Bartlett Place",
          "employer":"Bostonic",
          "email":"knoxlarson@bostonic.com",
          "city":"Smeltertown",
          "state":"TX"
        }
      },
      {
        "_index":"bank",
        "_type":"account",
        "_id":"89",
        "_score":0.0,
        "_source":{
          "account_number":89,
          "balance":13263,
          "firstname":"Mcdowell",
          "lastname":"Bradley",
          "age":28,
          "gender":"M",
          "address":"960 Howard Alley",
          "employer":"Grok",
          "email":"mcdowellbradley@grok.com",
          "city":"Toftrees",
          "state":"TX"
        }
      },
      {
        "_index":"bank",
        "_type":"account",
        "_id":"349",
        "_score":0.0,
        "_source":{
          "account_number":349,
          "balance":24180,
          "firstname":"Allison",
          "lastname":"Fitzpatrick",
          "age":22,
          "gender":"F",
          "address":"913 Arlington Avenue",
          "employer":"Veraq",
          "email":"allisonfitzpatrick@veraq.com",
          "city":"Marbury",
          "state":"TX"
        }
      },
      {
        "_index":"bank",
        "_type":"account",
        "_id":"933",
        "_score":0.0,
        "_source":{
          "account_number":933,
          "balance":18071,
          "firstname":"Tabitha",
          "lastname":"Cole",
          "age":21,
          "gender":"F",
          "address":"916 Rogers Avenue",
          "employer":"Eclipto",
          "email":"tabithacole@eclipto.com",
          "city":"Lawrence",
          "state":"TX"
        }
      },
      {
        "_index":"bank",
        "_type":"account",
        "_id":"378",
        "_score":0.0,
        "_source":{
          "account_number":378,
          "balance":27100,
          "firstname":"Watson",
          "lastname":"Simpson",
          "age":36,
          "gender":"F",
          "address":"644 Thomas Street",
          "employer":"Wrapture",
          "email":"watsonsimpson@wrapture.com",
          "city":"Keller",
          "state":"TX"
        }
      },
      {
        "_index":"bank",
        "_type":"account",
        "_id":"514",
        "_score":0.0,
        "_source":{
          "account_number":514,
          "balance":30125,
          "firstname":"Solomon",
          "lastname":"Bush",
          "age":34,
          "gender":"M",
          "address":"409 Harkness Avenue",
          "employer":"Snacktion",
          "email":"solomonbush@snacktion.com",
          "city":"Grayhawk",
          "state":"TX"
        }
      },
      {
        "_index":"bank",
        "_type":"account",
        "_id":"605",
        "_score":0.0,
        "_source":{
          "account_number":605,
          "balance":38427,
          "firstname":"Mcclain",
          "lastname":"Manning",
          "age":24,
          "gender":"M",
          "address":"832 Leonard Street",
          "employer":"Qiao",
          "email":"mcclainmanning@qiao.com",
          "city":"Calvary",
          "state":"TX"
        }
      },
      {
        "_index":"bank",
        "_type":"account",
        "_id":"214",
        "_score":0.0,
        "_source":{
          "account_number":214,
          "balance":24418,
          "firstname":"Luann",
          "lastname":"Faulkner",
          "age":37,
          "gender":"F",
          "address":"697 Hazel Court",
          "employer":"Zolar",
          "email":"luannfaulkner@zolar.com",
          "city":"Ticonderoga",
          "state":"TX"
        }
      },
      {
        "_index":"bank",
        "_type":"account",
        "_id":"396",
        "_score":0.0,
        "_source":{
          "account_number":396,
          "balance":14613,
          "firstname":"Marsha",
          "lastname":"Elliott",
          "age":38,
          "gender":"F",
          "address":"297 Liberty Avenue",
          "employer":"Orbiflex",
          "email":"marshaelliott@orbiflex.com",
          "city":"Windsor",
          "state":"TX"
        }
      }
    ]
  },
  "aggregations":{
    "agg_terms_state":{
      "doc_count_error_upper_bound":0,
      "sum_other_doc_count":0,
      "buckets":[
        {
          "key":"tx",
          "doc_count":30
        }
      ]
    }
  }
}
