Skip to content

Instantly share code, notes, and snippets.

Created July 31, 2014 10:11
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 anonymous/4fed3653658d70fb0df8 to your computer and use it in GitHub Desktop.
Save anonymous/4fed3653658d70fb0df8 to your computer and use it in GitHub Desktop.
Return from explain api on the document with id bronte
{
"_index": "nested",
"_type": "person",
"_id": "bronte",
"matched": true,
"explanation": {
"value": 0.15372275,
"description": "weight(_all:jane in 2) [PerFieldSimilarity], result of:",
"details": [{
"value": 0.15372275,
"description": "fieldWeight in 2, product of:",
"details": [{
"value": 1.0,
"description": "tf(freq=1.0), with freq of:",
"details": [{
"value": 1.0,
"description": "termFreq=1.0"
}]
},
{
"value": 1.4054651,
"description": "idf(docFreq=1, maxDocs=3)"
},
{
"value": 0.109375,
"description": "fieldNorm(doc=2)"
}]
}]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment