Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "_index": "kpi",
- "_type": "mroutes_by_lane",
- "_id": "TUeWFEhnS9q1Ukb2QdZABg",
- "_score": 1.0,
- "_source": {
- "warehouse_id": 107,
- "date": "2013-04-08",
- "lane": "M05",
- "routes": 4047
- }
- },
- {
- "_index": "kpi",
- "_type": "mroutes_by_lane",
- "_id": "owVmGW9GT562_2Alfru2DA",
- "_score": 1.0,
- "_source": {
- "warehouse_id": 107,
- "date": "2013-04-08",
- "lane": "M03",
- "routes": 4065
- }
- },
- {
- "_index": "kpi",
- "_type": "mroutes_by_lane",
- "_id": "JY9xNDxqSsajw76oMC2gxA",
- "_score": 1.0,
- "_source": {
- "warehouse_id": 107,
- "date": "2013-04-08",
- "lane": "M05",
- "routes": 3056
- }
- },
- {
- "_index": "kpi",
- "_type": "mroutes_by_lane",
- "_id": "owVmGW9GT345_2Alfru2DB",
- "_score": 1.0,
- "_source": {
- "warehouse_id": 107,
- "date": "2013-04-08",
- "lane": "M03",
- "routes": 5675
- }
- },
- ...
- {
- "query" : {
- "match_all" : { }
- },
- "facets" : {
- "lane_routes_stats" : {
- "terms_stats" : {
- "key_field" : "lane",
- "value_field" : "routes",
- "order": "term"
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement