Created
August 12, 2017 06:43
-
-
Save ken57/bceca6332ed808c2ad23efeab4d7d554 to your computer and use it in GitHub Desktop.
関連度でソート
This file contains 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
{ | |
"took": 4, | |
"timed_out": false, | |
"_shards": { | |
"total": 1, | |
"successful": 1, | |
"failed": 0 | |
}, | |
"hits": { | |
"total": 3, | |
"max_score": 1.3616593, | |
"hits": [ | |
{ | |
"_index": "blog", | |
"_type": "item", | |
"_id": "2", | |
"_score": 1.3616593, | |
"_source": { | |
"title": "ccc aaa", | |
"favoriteCount": 10, | |
"viewCount": 30 | |
} | |
}, | |
{ | |
"_index": "blog", | |
"_type": "item", | |
"_id": "3", | |
"_score": 1.347974, | |
"_source": { | |
"title": "aaa aaa bbb bbb yyy", | |
"favoriteCount": 0, | |
"viewCount": 200 | |
} | |
}, | |
{ | |
"_index": "blog", | |
"_type": "item", | |
"_id": "1", | |
"_score": 1.0893275, | |
"_source": { | |
"title": "aaa bbb ccc", | |
"favoriteCount": 10, | |
"viewCount": 20 | |
} | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment