Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "took": 10,
- "timed_out": false,
- "_shards": {
- "total": 5,
- "successful": 5,
- "failed": 0
- },
- "hits": {
- "total": 7,
- "max_score": null,
- "hits": [
- {
- "_index": "app",
- "_type": "subscription",
- "_id": "1",
- "_score": null,
- "_source": {
- "id": 1,
- "name": "Test abonnement 1",
- "slug": "test-abonnement-1",
- "company": "dfgdfg",
- "minutes": 300,
- "megabytes": 1000,
- "minutesCost": 250,
- "megabytesCost": 750,
- "monthlyCost": 1000,
- "fee": 1000,
- "contractLength": 12
- },
- "sort": [
- 1000
- ]
- },
- {
- "_index": "app",
- "_type": "subscription",
- "_id": "6",
- "_score": null,
- "_source": {
- "id": 6,
- "name": "Test abonnement 6",
- "slug": "test-abonnement-6",
- "company": "dfgdfg",
- "minutes": 400,
- "megabytes": 1000,
- "minutesCost": 250,
- "megabytesCost": 750,
- "monthlyCost": 1100,
- "fee": 1000,
- "contractLength": 12
- },
- "sort": [
- 1100
- ]
- },
- {
- "_index": "app",
- "_type": "subscription",
- "_id": "7",
- "_score": null,
- "_source": {
- "id": 7,
- "name": "Test abonnement 7",
- "slug": "test-abonnement-7",
- "company": "dfgdfg",
- "minutes": 500,
- "megabytes": 1000,
- "minutesCost": 250,
- "megabytesCost": 750,
- "monthlyCost": 1200,
- "fee": 1000,
- "contractLength": 12
- },
- "sort": [
- 1200
- ]
- },
- {
- "_index": "app",
- "_type": "subscription",
- "_id": "9",
- "_score": null,
- "_source": {
- "id": 9,
- "name": "Test abonnement 9",
- "slug": "test-abonnement-9",
- "company": "dfgdfg",
- "minutes": 300,
- "megabytes": 1000,
- "minutesCost": 250,
- "megabytesCost": 750,
- "monthlyCost": 1300,
- "fee": 1000,
- "contractLength": 1
- },
- "sort": [
- 1300
- ]
- },
- {
- "_index": "app",
- "_type": "subscription",
- "_id": "8",
- "_score": null,
- "_source": {
- "id": 8,
- "name": "Test abonnement 8",
- "slug": "test-abonnement-8",
- "company": "dfgdfg",
- "minutes": 500,
- "megabytes": 1000,
- "minutesCost": 250,
- "megabytesCost": 750,
- "monthlyCost": 1300,
- "fee": 1000,
- "contractLength": 12
- },
- "sort": [
- 1300
- ]
- },
- {
- "_index": "app",
- "_type": "subscription",
- "_id": "10",
- "_score": null,
- "_source": {
- "id": 10,
- "name": "Test abonnement 10",
- "slug": "test-abonnement-10",
- "company": "dfgdfg",
- "minutes": 300,
- "megabytes": 1000,
- "minutesCost": 250,
- "megabytesCost": 750,
- "monthlyCost": 1300,
- "fee": 1000,
- "contractLength": 12
- },
- "sort": [
- 1300
- ]
- },
- {
- "_index": "app",
- "_type": "subscription",
- "_id": "11",
- "_score": null,
- "_source": {
- "id": 11,
- "name": "Test abonnement 11",
- "slug": "test-abonnement-11",
- "company": "dfgdfg",
- "minutes": 300,
- "megabytes": 1000,
- "minutesCost": 250,
- "megabytesCost": 750,
- "monthlyCost": 1400,
- "fee": 1000,
- "contractLength": 12
- },
- "sort": [
- 1400
- ]
- }
- ]
- },
- "aggregations": {
- "max_price": {
- "value": 1400
- },
- "min_price": {
- "value": 1000
- },
- "minutes": {
- "doc_count": 7,
- "minutes": {
- "doc_count_error_upper_bound": 0,
- "sum_other_doc_count": 0,
- "buckets": [
- {
- "key": 300,
- "doc_count": 4
- },
- {
- "key": 500,
- "doc_count": 2
- },
- {
- "key": 400,
- "doc_count": 1
- },
- {
- "key": 100,
- "doc_count": 0
- }
- ]
- }
- },
- "megabytes": {
- "doc_count_error_upper_bound": 0,
- "sum_other_doc_count": 0,
- "buckets": [
- {
- "key": 1000,
- "doc_count": 7
- },
- {
- "key": 2000,
- "doc_count": 1
- },
- {
- "key": 3000,
- "doc_count": 1
- },
- {
- "key": 4000,
- "doc_count": 1
- },
- {
- "key": 5000,
- "doc_count": 1
- }
- ]
- },
- "company": {
- "doc_count_error_upper_bound": 0,
- "sum_other_doc_count": 0,
- "buckets": [
- {
- "key": "dfgdfg",
- "doc_count": 11
- }
- ]
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement