Skip to content

Instantly share code, notes, and snippets.

@emedina
Created February 11, 2011 14:09
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 emedina/822392 to your computer and use it in GitHub Desktop.
Save emedina/822392 to your computer and use it in GitHub Desktop.
Result JSON for ES query
[{
"hits": {
"hits": [],
"max_score": 2.733024,
"total": 1
},
"timed_out": false,
"took": 20,
"_shards": {
"failed": 0,
"total": 3,
"successful": 3
},
"facets": {
"categorias2": {
"_type": "terms",
"missing": 0,
"terms": [{
"term": "Libros",
"count": 1
}]
},
"tienda": {
"_type": "terms",
"missing": 0,
"terms": [{
"term": "Casa del Libro",
"count": 1
}]
}
}
}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment