Skip to content

Instantly share code, notes, and snippets.

@drewr
Created December 7, 2012 16:23
Show Gist options
  • Save drewr/4234409 to your computer and use it in GitHub Desktop.
Save drewr/4234409 to your computer and use it in GitHub Desktop.
{
"_shards": {
"failed": 0,
"successful": 5,
"total": 5
},
"facets": {
"title": {
"_type": "terms",
"missing": 2,
"other": 0,
"terms": [
{
"count": 1,
"term": "b"
}
],
"total": 1
}
},
"hits": {
"hits": [
{
"_id": "1",
"_index": "ove_rebel",
"_score": 1.0,
"_source": {
"id": 1,
"text": "blah",
"title": "A"
},
"_type": "records"
},
{
"_id": "2",
"_index": "ove_rebel",
"_score": 1.0,
"_source": {
"id": 2,
"text": "blah blah",
"title": "B"
},
"_type": "records"
},
{
"_id": "3",
"_index": "ove_rebel",
"_score": 1.0,
"_source": {
"id": 3,
"text": "blah blah blah",
"title": "A"
},
"_type": "records"
}
],
"max_score": 1.0,
"total": 3
},
"timed_out": false,
"took": 7
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment