Skip to content

Instantly share code, notes, and snippets.

@lwe
Created May 9, 2012 12:51
Show Gist options
  • Save lwe/2644283 to your computer and use it in GitHub Desktop.
Save lwe/2644283 to your computer and use it in GitHub Desktop.
{
"took" : 45,
"timed_out" : false,
"_shards" : {
"total" : 5,
"successful" : 5,
"failed" : 0
},
"hits" : {
"total" : 4,
"max_score" : 1.0,
"hits" : [ ]
},
"facets" : {
"name" : {
"_type" : "terms",
"missing" : 0,
"total" : 12,
"other" : 0,
"terms" : [ {
"term" : "jpg",
"count" : 3
}, {
"term" : "img",
"count" : 2
}, {
"term" : "some",
"count" : 1
}, {
"term" : "reports",
"count" : 1
}, {
"term" : "image",
"count" : 1
}, {
"term" : "file",
"count" : 1
}, {
"term" : "doc",
"count" : 1
}, {
"term" : "4562",
"count" : 1
}, {
"term" : "1324",
"count" : 1
} ]
},
"all" : {
"_type" : "terms",
"missing" : 0,
"total" : 7,
"other" : 0,
"terms" : [ {
"term" : "jpg",
"count" : 2
}, {
"term" : "some",
"count" : 1
}, {
"term" : "reports.doc",
"count" : 1
}, {
"term" : "img_4562",
"count" : 1
}, {
"term" : "img_1324",
"count" : 1
}, {
"term" : "image_file.jpg",
"count" : 1
} ]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment