Created
July 23, 2019 23:12
-
-
Save QuantVI/7a0ec351729ae2f9e5d11037f2b27527 to your computer and use it in GitHub Desktop.
ElasticSearch output: Example output to and early version of the "external confirmation status, versus internal status code" query (status_distrib_w_conf_status_min_max.json)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "hits": { | |
| "hits": [], | |
| "total": 123928, | |
| "max_score": 0.0 | |
| }, | |
| "_shards": { | |
| "successful": 20, | |
| "failed": 0, | |
| "total": 20 | |
| }, | |
| "took": 1073, | |
| "aggregations": { | |
| "pms_status_code": { | |
| "buckets": [ | |
| { | |
| "conf_status": { | |
| "buckets": [ | |
| { | |
| "max_check-out": { | |
| "value_as_string": "2016-11-14", | |
| "value": 1479081600000.0 | |
| }, | |
| "doc_count": 103339, | |
| "max_check-in": { | |
| "value_as_string": "2016-11-13", | |
| "value": 1478995200000.0 | |
| }, | |
| "min_check-in": { | |
| "value_as_string": "2008-08-30", | |
| "value": 1220054400000.0 | |
| }, | |
| "key": "CHECKEDOUT", | |
| "min_check-out": { | |
| "value_as_string": "2008-09-01", | |
| "value": 1220227200000.0 | |
| } | |
| } | |
| ], | |
| "sum_other_doc_count": 0, | |
| "doc_count_error_upper_bound": 0 | |
| }, | |
| "key": "VALID - POST CHECKOUT", | |
| "doc_count": 103339 | |
| }, | |
| { | |
| "conf_status": { | |
| "buckets": [ | |
| { | |
| "max_check-out": { | |
| "value_as_string": "2017-10-22", | |
| "value": 1508630400000.0 | |
| }, | |
| "doc_count": 19164, | |
| "max_check-in": { | |
| "value_as_string": "2017-10-20", | |
| "value": 1508457600000.0 | |
| }, | |
| "min_check-in": { | |
| "value_as_string": "2008-12-31", | |
| "value": 1230681600000.0 | |
| }, | |
| "key": "CANCELLED", | |
| "min_check-out": { | |
| "value_as_string": "2009-01-01", | |
| "value": 1230768000000.0 | |
| } | |
| } | |
| ], | |
| "sum_other_doc_count": 0, | |
| "doc_count_error_upper_bound": 0 | |
| }, | |
| "key": "OTHER - CANCELED", | |
| "doc_count": 19164 | |
| }, | |
| { | |
| "conf_status": { | |
| "buckets": [ | |
| { | |
| "max_check-out": { | |
| "value_as_string": "2017-09-11", | |
| "value": 1505088000000.0 | |
| }, | |
| "doc_count": 909, | |
| "max_check-in": { | |
| "value_as_string": "2017-09-09", | |
| "value": 1504915200000.0 | |
| }, | |
| "min_check-in": { | |
| "value_as_string": "2016-09-15", | |
| "value": 1473897600000.0 | |
| }, | |
| "key": "RESERVED", | |
| "min_check-out": { | |
| "value_as_string": "2016-09-18", | |
| "value": 1474156800000.0 | |
| } | |
| } | |
| ], | |
| "sum_other_doc_count": 0, | |
| "doc_count_error_upper_bound": 0 | |
| }, | |
| "key": "VALID - PRE CHECKIN", | |
| "doc_count": 909 | |
| }, | |
| { | |
| "conf_status": { | |
| "buckets": [ | |
| { | |
| "max_check-out": { | |
| "value_as_string": "2016-11-17", | |
| "value": 1479340800000.0 | |
| }, | |
| "doc_count": 487, | |
| "max_check-in": { | |
| "value_as_string": "2016-11-14", | |
| "value": 1479081600000.0 | |
| }, | |
| "min_check-in": { | |
| "value_as_string": "2016-09-10", | |
| "value": 1473465600000.0 | |
| }, | |
| "key": "INHOUSE", | |
| "min_check-out": { | |
| "value_as_string": "2016-09-15", | |
| "value": 1473897600000.0 | |
| } | |
| } | |
| ], | |
| "sum_other_doc_count": 0, | |
| "doc_count_error_upper_bound": 0 | |
| }, | |
| "key": "VALID - ON PROPERTY", | |
| "doc_count": 487 | |
| }, | |
| { | |
| "conf_status": { | |
| "buckets": [ | |
| { | |
| "max_check-out": { | |
| "value_as_string": "2016-11-07", | |
| "value": 1478476800000.0 | |
| }, | |
| "doc_count": 27, | |
| "max_check-in": { | |
| "value_as_string": "2016-11-05", | |
| "value": 1478304000000.0 | |
| }, | |
| "min_check-in": { | |
| "value_as_string": "2008-12-31", | |
| "value": 1230681600000.0 | |
| }, | |
| "key": "NSHO", | |
| "min_check-out": { | |
| "value_as_string": "2009-01-01", | |
| "value": 1230768000000.0 | |
| } | |
| }, | |
| { | |
| "max_check-out": { | |
| "value_as_string": "2015-03-01", | |
| "value": 1425168000000.0 | |
| }, | |
| "doc_count": 1, | |
| "max_check-in": { | |
| "value_as_string": "2015-02-27", | |
| "value": 1424995200000.0 | |
| }, | |
| "min_check-in": { | |
| "value_as_string": "2015-02-27", | |
| "value": 1424995200000.0 | |
| }, | |
| "key": "LOST", | |
| "min_check-out": { | |
| "value_as_string": "2015-03-01", | |
| "value": 1425168000000.0 | |
| } | |
| }, | |
| { | |
| "max_check-out": { | |
| "value_as_string": "2016-12-11", | |
| "value": 1481414400000.0 | |
| }, | |
| "doc_count": 1, | |
| "max_check-in": { | |
| "value_as_string": "2016-12-10", | |
| "value": 1481328000000.0 | |
| }, | |
| "min_check-in": { | |
| "value_as_string": "2016-12-10", | |
| "value": 1481328000000.0 | |
| }, | |
| "key": "WAIT", | |
| "min_check-out": { | |
| "value_as_string": "2016-12-11", | |
| "value": 1481414400000.0 | |
| } | |
| } | |
| ], | |
| "sum_other_doc_count": 0, | |
| "doc_count_error_upper_bound": 0 | |
| }, | |
| "key": "OTHER - NOT IN USE", | |
| "doc_count": 29 | |
| } | |
| ], | |
| "sum_other_doc_count": 0, | |
| "doc_count_error_upper_bound": 0 | |
| } | |
| }, | |
| "timed_out": false | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment