Created
March 17, 2017 22:57
-
-
Save russcam/94b0f4244d44f8c1519a6ef7cf67673f 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": 55, | |
"timed_out": false, | |
"_shards": { | |
"total": 5, | |
"successful": 5, | |
"failed": 0 | |
}, | |
"hits": { | |
"total": 2, | |
"max_score": 2.3527396, | |
"hits": [ | |
{ | |
"_index": "newindex3", | |
"_type": "article", | |
"_id": "1", | |
"_score": 1.4862027, | |
"_source": { | |
"title": "Some Title", | |
"content": "FIY Fix yourself", | |
"tags": [ | |
{ | |
"tagName": "Fix it yourself" | |
}, | |
{ | |
"tagName": "customer tips" | |
}, | |
{ | |
"tagName": "competition" | |
} | |
] | |
} | |
} | |
] | |
}, | |
"aggregations": { | |
"tags": { | |
"doc_count": 6, | |
"tags-tagnames": { | |
"doc_count_error_upper_bound": 0, | |
"sum_other_doc_count": 0, | |
"buckets": [ | |
{ | |
"key": "competition", | |
"doc_count": 2 | |
}, | |
{ | |
"key": "customer tips", | |
"doc_count": 2 | |
}, | |
{ | |
"key": "Fix it yourself", | |
"doc_count": 1 | |
}, | |
{ | |
"key": "how to", | |
"doc_count": 1 | |
} | |
] | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment