Advertisement
Guest User

Untitled

a guest
Aug 28th, 2015
1,928
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 8.15 KB | None | 0 0
  1. {
  2.     "index": "replica",
  3.     "type": "Asset",
  4.     "from": 0,
  5.     "size": 10,
  6.     "body": {
  7.         "filter": {
  8.             "nested": {
  9.                 "path": "Sources",
  10.                 "filter": {
  11.                     "bool": {
  12.                         "must": [
  13.                             {
  14.                                 "terms": {
  15.                                     "Sources.I": [
  16.                                         "0.56620",
  17.                                         "0.90",
  18.                                         "0.11415",
  19.                                         "0.54",
  20.                                         "0.534",
  21.                                         "0.55953",
  22.                                         "0.53276",
  23.                                         "0.11396",
  24.                                         "0.18674",
  25.                                         "0.58436",
  26.                                         "0.62189",
  27.                                         "0.13",
  28.                                         "0.72",
  29.                                         "0.53257",
  30.                                         "0.84",
  31.                                         "0.7",
  32.                                         "0.1264",
  33.                                         "0.49",
  34.                                         "0.61114",
  35.                                         "0.53277",
  36.                                         "0.1250",
  37.                                         "0.4",
  38.                                         "0.56653",
  39.                                         "0.58146",
  40.                                         "0.60",
  41.                                         "0.1",
  42.                                         "0.2",
  43.                                         "0.15632",
  44.                                         "0.75",
  45.                                         "0.52",
  46.                                         "0.14862",
  47.                                         "0.51",
  48.                                         "0.136",
  49.                                         "0.300",
  50.                                         "0.12",
  51.                                         "0.92",
  52.                                         "0.42",
  53.                                         "0.88",
  54.                                         "0.8",
  55.                                         "0.12237",
  56.                                         "0.61",
  57.                                         "0.521",
  58.                                         "0.62",
  59.                                         "0.91",
  60.                                         "0.58498",
  61.                                         "0.56",
  62.                                         "0.56612",
  63.                                         "0.17",
  64.                                         "0.19",
  65.                                         "0.9",
  66.                                         "0.63610",
  67.                                         "0.22",
  68.                                         "0.37",
  69.                                         "0.56831",
  70.                                         "0.16760",
  71.                                         "0.11",
  72.                                         "0.26",
  73.                                         "0.53"
  74.                                     ],
  75.                                     "execution": "plain"
  76.                                 }
  77.                             },
  78.                             {
  79.                                 "range": {
  80.                                     "Sources.S": {
  81.                                         "lte": 1440800280,
  82.                                         "gte": 1436912280
  83.                                     },
  84.                                     "execution": "index",
  85.                                     "_cache": false
  86.                                 }
  87.                             }
  88.                         ]
  89.                     }
  90.                 }
  91.             }
  92.         },
  93.         "sort": [
  94.             {
  95.                 "Sources.S": {
  96.                     "order": "desc",
  97.                     "nested_filter": {
  98.                         "bool": {
  99.                             "must": [
  100.                                 {
  101.                                     "terms": {
  102.                                         "Sources.I": [
  103.                                             "0.56620",
  104.                                             "0.90",
  105.                                             "0.11415",
  106.                                             "0.54",
  107.                                             "0.534",
  108.                                             "0.55953",
  109.                                             "0.53276",
  110.                                             "0.11396",
  111.                                             "0.18674",
  112.                                             "0.58436",
  113.                                             "0.62189",
  114.                                             "0.13",
  115.                                             "0.72",
  116.                                             "0.53257",
  117.                                             "0.84",
  118.                                             "0.7",
  119.                                             "0.1264",
  120.                                             "0.49",
  121.                                             "0.61114",
  122.                                             "0.53277",
  123.                                             "0.1250",
  124.                                             "0.4",
  125.                                             "0.56653",
  126.                                             "0.58146",
  127.                                             "0.60",
  128.                                             "0.1",
  129.                                             "0.2",
  130.                                             "0.15632",
  131.                                             "0.75",
  132.                                             "0.52",
  133.                                             "0.14862",
  134.                                             "0.51",
  135.                                             "0.136",
  136.                                             "0.300",
  137.                                             "0.12",
  138.                                             "0.92",
  139.                                             "0.42",
  140.                                             "0.88",
  141.                                             "0.8",
  142.                                             "0.12237",
  143.                                             "0.61",
  144.                                             "0.521",
  145.                                             "0.62",
  146.                                             "0.91",
  147.                                             "0.58498",
  148.                                             "0.56",
  149.                                             "0.56612",
  150.                                             "0.17",
  151.                                             "0.19",
  152.                                             "0.9",
  153.                                             "0.63610",
  154.                                             "0.22",
  155.                                             "0.37",
  156.                                             "0.56831",
  157.                                             "0.16760",
  158.                                             "0.11",
  159.                                             "0.26",
  160.                                             "0.53"
  161.                                         ],
  162.                                         "execution": "plain"
  163.                                     }
  164.                                 },
  165.                                 {
  166.                                     "range": {
  167.                                         "Sources.S": {
  168.                                             "lte": 1440800280,
  169.                                             "gte": 1436912280
  170.                                         },
  171.                                         "execution": "index",
  172.                                         "_cache": false
  173.                                     }
  174.                                 }
  175.                             ]
  176.                         }
  177.                     }
  178.                 }
  179.             }
  180.         ]
  181.     }
  182. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement