Skip to content

Instantly share code, notes, and snippets.

@mklaber
Created April 17, 2015 15:02
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 mklaber/cf294781e16910cd5fc4 to your computer and use it in GitHub Desktop.
Save mklaber/cf294781e16910cd5fc4 to your computer and use it in GitHub Desktop.
Stackoverflow Search Result
{
"took": 1,
"timed_out": false,
"_shards": {
"total": 4,
"successful": 4,
"failed": 0
},
"hits": {
"total": 1,
"max_score": 0.30685282,
"hits": [
{
"_shard": 3,
"_node": "M6sAYCxQRJiP7Qn4zeC3-w",
"_index": "address_bug",
"_type": "address",
"_id": "1234",
"_score": 0.30685282,
"_source": {
"zip5": "02144",
"zip4": "ABCD"
},
"_explanation": {
"value": 0.30685282,
"description": "weight(zip4: in 0) [PerFieldSimilarity], result of:",
"details": [
{
"value": 0.30685282,
"description": "fieldWeight in 0, product of:",
"details": [
{
"value": 1,
"description": "tf(freq=1.0), with freq of:",
"details": [
{
"value": 1,
"description": "termFreq=1.0"
}
]
},
{
"value": 0.30685282,
"description": "idf(docFreq=1, maxDocs=1)"
},
{
"value": 1,
"description": "fieldNorm(doc=0)"
}
]
}
]
}
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment