Advertisement
Guest User

Untitled

a guest
May 13th, 2015
413
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.    "took": 10,
  3.    "timed_out": false,
  4.    "_shards": {
  5.       "total": 5,
  6.       "successful": 5,
  7.       "failed": 0
  8.    },
  9.    "hits": {
  10.       "total": 7,
  11.       "max_score": null,
  12.       "hits": [
  13.          {
  14.             "_index": "app",
  15.             "_type": "subscription",
  16.             "_id": "1",
  17.             "_score": null,
  18.             "_source": {
  19.                "id": 1,
  20.                "name": "Test abonnement 1",
  21.                "slug": "test-abonnement-1",
  22.                "company": "dfgdfg",
  23.                "minutes": 300,
  24.                "megabytes": 1000,
  25.                "minutesCost": 250,
  26.                "megabytesCost": 750,
  27.                "monthlyCost": 1000,
  28.                "fee": 1000,
  29.                "contractLength": 12
  30.             },
  31.             "sort": [
  32.                1000
  33.             ]
  34.          },
  35.          {
  36.             "_index": "app",
  37.             "_type": "subscription",
  38.             "_id": "6",
  39.             "_score": null,
  40.             "_source": {
  41.                "id": 6,
  42.                "name": "Test abonnement 6",
  43.                "slug": "test-abonnement-6",
  44.                "company": "dfgdfg",
  45.                "minutes": 400,
  46.                "megabytes": 1000,
  47.                "minutesCost": 250,
  48.                "megabytesCost": 750,
  49.                "monthlyCost": 1100,
  50.                "fee": 1000,
  51.                "contractLength": 12
  52.             },
  53.             "sort": [
  54.                1100
  55.             ]
  56.          },
  57.          {
  58.             "_index": "app",
  59.             "_type": "subscription",
  60.             "_id": "7",
  61.             "_score": null,
  62.             "_source": {
  63.                "id": 7,
  64.                "name": "Test abonnement 7",
  65.                "slug": "test-abonnement-7",
  66.                "company": "dfgdfg",
  67.                "minutes": 500,
  68.                "megabytes": 1000,
  69.                "minutesCost": 250,
  70.                "megabytesCost": 750,
  71.                "monthlyCost": 1200,
  72.                "fee": 1000,
  73.                "contractLength": 12
  74.             },
  75.             "sort": [
  76.                1200
  77.             ]
  78.          },
  79.          {
  80.             "_index": "app",
  81.             "_type": "subscription",
  82.             "_id": "9",
  83.             "_score": null,
  84.             "_source": {
  85.                "id": 9,
  86.                "name": "Test abonnement 9",
  87.                "slug": "test-abonnement-9",
  88.                "company": "dfgdfg",
  89.                "minutes": 300,
  90.                "megabytes": 1000,
  91.                "minutesCost": 250,
  92.                "megabytesCost": 750,
  93.                "monthlyCost": 1300,
  94.                "fee": 1000,
  95.                "contractLength": 1
  96.             },
  97.             "sort": [
  98.                1300
  99.             ]
  100.          },
  101.          {
  102.             "_index": "app",
  103.             "_type": "subscription",
  104.             "_id": "8",
  105.             "_score": null,
  106.             "_source": {
  107.                "id": 8,
  108.                "name": "Test abonnement 8",
  109.                "slug": "test-abonnement-8",
  110.                "company": "dfgdfg",
  111.                "minutes": 500,
  112.                "megabytes": 1000,
  113.                "minutesCost": 250,
  114.                "megabytesCost": 750,
  115.                "monthlyCost": 1300,
  116.                "fee": 1000,
  117.                "contractLength": 12
  118.             },
  119.             "sort": [
  120.                1300
  121.             ]
  122.          },
  123.          {
  124.             "_index": "app",
  125.             "_type": "subscription",
  126.             "_id": "10",
  127.             "_score": null,
  128.             "_source": {
  129.                "id": 10,
  130.                "name": "Test abonnement 10",
  131.                "slug": "test-abonnement-10",
  132.                "company": "dfgdfg",
  133.                "minutes": 300,
  134.                "megabytes": 1000,
  135.                "minutesCost": 250,
  136.                "megabytesCost": 750,
  137.                "monthlyCost": 1300,
  138.                "fee": 1000,
  139.                "contractLength": 12
  140.             },
  141.             "sort": [
  142.                1300
  143.             ]
  144.          },
  145.          {
  146.             "_index": "app",
  147.             "_type": "subscription",
  148.             "_id": "11",
  149.             "_score": null,
  150.             "_source": {
  151.                "id": 11,
  152.                "name": "Test abonnement 11",
  153.                "slug": "test-abonnement-11",
  154.                "company": "dfgdfg",
  155.                "minutes": 300,
  156.                "megabytes": 1000,
  157.                "minutesCost": 250,
  158.                "megabytesCost": 750,
  159.                "monthlyCost": 1400,
  160.                "fee": 1000,
  161.                "contractLength": 12
  162.             },
  163.             "sort": [
  164.                1400
  165.             ]
  166.          }
  167.       ]
  168.    },
  169.    "aggregations": {
  170.       "max_price": {
  171.          "value": 1400
  172.       },
  173.       "min_price": {
  174.          "value": 1000
  175.       },
  176.       "minutes": {
  177.          "doc_count": 7,
  178.          "minutes": {
  179.             "doc_count_error_upper_bound": 0,
  180.             "sum_other_doc_count": 0,
  181.             "buckets": [
  182.                {
  183.                   "key": 300,
  184.                   "doc_count": 4
  185.                },
  186.                {
  187.                   "key": 500,
  188.                   "doc_count": 2
  189.                },
  190.                {
  191.                   "key": 400,
  192.                   "doc_count": 1
  193.                },
  194.                {
  195.                   "key": 100,
  196.                   "doc_count": 0
  197.                }
  198.             ]
  199.          }
  200.       },
  201.       "megabytes": {
  202.          "doc_count_error_upper_bound": 0,
  203.          "sum_other_doc_count": 0,
  204.          "buckets": [
  205.             {
  206.                "key": 1000,
  207.                "doc_count": 7
  208.             },
  209.             {
  210.                "key": 2000,
  211.                "doc_count": 1
  212.             },
  213.             {
  214.                "key": 3000,
  215.                "doc_count": 1
  216.             },
  217.             {
  218.                "key": 4000,
  219.                "doc_count": 1
  220.             },
  221.             {
  222.                "key": 5000,
  223.                "doc_count": 1
  224.             }
  225.          ]
  226.       },
  227.       "company": {
  228.          "doc_count_error_upper_bound": 0,
  229.          "sum_other_doc_count": 0,
  230.          "buckets": [
  231.             {
  232.                "key": "dfgdfg",
  233.                "doc_count": 11
  234.             }
  235.          ]
  236.       }
  237.    }
  238. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement