es response 2

mail@pastecode.io avatar
unknown
json
3 years ago
6.9 kB
1
Indexable
Never
{
  "took" : 5,
  "timed_out" : false,
  "_shards" : {
    "total" : 1,
    "successful" : 1,
    "skipped" : 0,
    "failed" : 0
  },
  "hits" : {
    "total" : {
      "value" : 8,
      "relation" : "eq"
    },
    "max_score" : 5.0,
    "hits" : [
      {
        "_index" : "segment_99",
        "_type" : "_doc",
        "_id" : "4903113",
        "_score" : 5.0,
        "_source" : {
          "user_id" : 4903113,
          "ranking" : [
            {
              "visits" : [
                {
                  "earned" : 589,
                  "rank" : 1
                }
              ],
              "vouchers" : [
                {
                  "earned" : 100,
                  "rank" : 1
                }
              ],
              "stamps" : [
                {
                  "earned" : 249,
                  "rank" : 1
                }
              ],
              "points" : [
                {
                  "earned" : 70752190,
                  "rank" : 1
                }
              ]
            }
          ]
        }
      },
      {
        "_index" : "segment_99",
        "_type" : "_doc",
        "_id" : "4571366",
        "_score" : 2.0,
        "_source" : {
          "user_id" : 4571366,
          "ranking" : [
            {
              "visits" : [
                {
                  "earned" : 102,
                  "rank" : 10
                }
              ],
              "vouchers" : [
                {
                  "earned" : 11,
                  "rank" : 408
                }
              ],
              "stamps" : [
                {
                  "earned" : 28,
                  "rank" : 10
                }
              ],
              "points" : [
                {
                  "earned" : 31085,
                  "rank" : 24
                }
              ]
            }
          ]
        }
      },
      {
        "_index" : "segment_99",
        "_type" : "_doc",
        "_id" : "765897",
        "_score" : 1.0,
        "_source" : {
          "user_id" : 765897,
          "ranking" : [
            {
              "visits" : [
                {
                  "earned" : 311,
                  "rank" : 4
                }
              ],
              "vouchers" : [
                {
                  "earned" : 40,
                  "rank" : 10
                }
              ],
              "stamps" : [
                {
                  "earned" : 106,
                  "rank" : 2
                }
              ],
              "points" : [
                {
                  "earned" : 32348133,
                  "rank" : 2
                }
              ]
            }
          ]
        }
      },
      {
        "_index" : "segment_99",
        "_type" : "_doc",
        "_id" : "5249109",
        "_score" : 1.0,
        "_source" : {
          "user_id" : 5249109,
          "ranking" : [
            {
              "visits" : [
                {
                  "earned" : 28,
                  "rank" : 26
                }
              ],
              "vouchers" : [
                {
                  "earned" : 17,
                  "rank" : 13
                }
              ],
              "stamps" : [
                {
                  "earned" : 28,
                  "rank" : 10
                }
              ],
              "points" : [
                {
                  "earned" : 22500,
                  "rank" : 27
                }
              ]
            }
          ]
        }
      },
      {
        "_index" : "segment_99",
        "_type" : "_doc",
        "_id" : "5247309",
        "_score" : 1.0,
        "_source" : {
          "user_id" : 5247309,
          "ranking" : [
            {
              "visits" : [
                {
                  "earned" : 28,
                  "rank" : 26
                }
              ],
              "vouchers" : [
                {
                  "earned" : 17,
                  "rank" : 13
                }
              ],
              "stamps" : [
                {
                  "earned" : 28,
                  "rank" : 10
                }
              ],
              "points" : [
                {
                  "earned" : 22500,
                  "rank" : 27
                }
              ]
            }
          ]
        }
      },
      {
        "_index" : "segment_99",
        "_type" : "_doc",
        "_id" : "5248661",
        "_score" : 1.0,
        "_source" : {
          "user_id" : 5248661,
          "ranking" : [
            {
              "visits" : [
                {
                  "earned" : 14,
                  "rank" : 129
                }
              ],
              "vouchers" : [
                {
                  "earned" : 17,
                  "rank" : 13
                }
              ],
              "stamps" : [
                {
                  "earned" : 28,
                  "rank" : 10
                }
              ],
              "points" : [
                {
                  "earned" : 22500,
                  "rank" : 27
                }
              ]
            }
          ]
        }
      },
      {
        "_index" : "segment_99",
        "_type" : "_doc",
        "_id" : "5250493",
        "_score" : 1.0,
        "_source" : {
          "user_id" : 5250493,
          "ranking" : [
            {
              "visits" : [
                {
                  "earned" : 14,
                  "rank" : 129
                }
              ],
              "vouchers" : [
                {
                  "earned" : 17,
                  "rank" : 13
                }
              ],
              "stamps" : [
                {
                  "earned" : 28,
                  "rank" : 10
                }
              ],
              "points" : [
                {
                  "earned" : 22500,
                  "rank" : 27
                }
              ]
            }
          ]
        }
      },
      {
        "_index" : "segment_99",
        "_type" : "_doc",
        "_id" : "5247771",
        "_score" : 1.0,
        "_source" : {
          "user_id" : 5247771,
          "ranking" : [
            {
              "visits" : [
                {
                  "earned" : 14,
                  "rank" : 129
                }
              ],
              "vouchers" : [
                {
                  "earned" : 17,
                  "rank" : 13
                }
              ],
              "stamps" : [
                {
                  "earned" : 28,
                  "rank" : 10
                }
              ],
              "points" : [
                {
                  "earned" : 22500,
                  "rank" : 27
                }
              ]
            }
          ]
        }
      }
    ]
  }
}