Skip to content

Instantly share code, notes, and snippets.

@PierreCavalet
Last active July 3, 2019 09:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PierreCavalet/2dee8b3dc078b3faf713168873dadaf8 to your computer and use it in GitHub Desktop.
Save PierreCavalet/2dee8b3dc078b3faf713168873dadaf8 to your computer and use it in GitHub Desktop.
{
"took": 29,
"timed_out": false,
"_shards": {
"total": 5,
"successful": 5,
"failed": 0
},
"hits": {
"total": 3,
"max_score": 12.0,
"hits": [{
"_index": "useralgo",
"_type": "article",
"_id": "articleId3",
"_score": 12.0,
"_source": {
"title": "Random people article",
"tags": ["people"],
"important": false
}
}, {
"_index": "useralgo",
"_type": "article",
"_id": "articleId1",
"_score": 10.0,
"_source": {
"title": "My thoughts on the last season of Game of Thrones",
"tags": ["GOT", "TVshow"],
"important": true
}
}, {
"_index": "useralgo",
"_type": "article",
"_id": "articleId2",
"_score": 1.0,
"_source": {
"title": "How to change the world",
"tags": ["amazing"],
"important": false
}
}]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment