Hm, I encounter strange scoring results I do not understand.... I tracked
down the scoring and it seems like the 'queryWeight' is missing sometimes.
thats what explain give me for one document:
{
"value": 8.252264,
"description": "weight(collector_1.default.raw:salzburg^18.0 in
11412869) [PerFieldSimilarity], result of:",
"details": [
{
"value": 8.252264,
"description": "fieldWeight in 11412869, product of:",
"details": [
{
"value": 1,
"description": "tf(freq=1.0), with freq of:",
"details": [
{
"value": 1,
"description": "termFreq=1.0"
}
]
},
{
"value": 8.252264,
"description": "idf(docFreq=13182, maxDocs=18605118)"
},
{
"value": 1,
"description": "fieldNorm(doc=11412869)"
}
]
}
]
}
the scoring of 8 is quite high and it get's the first result. however, this
document (the one who should be in first position) get's a significant
lower scoring because of the queryWeight that pops up.
{
"value": 3.8485851,
"description": "weight(collector_1.default.raw:salzburg^18.0 in 8149365)
[PerFieldSimilarity], result of:",
"details": [
{
"value": 3.8485851,
"description": "score(doc=8149365,freq=1.0 = termFreq=1.0\n),
product of:",
"details": [
{
"value": 0.46578622,
"description": "queryWeight, product of:",
"details": [
{
"value": 18,
"description": "boost"
},
{
"value": 8.262557,
"description": "idf(docFreq=13047, maxDocs=18605118)"
},
{
"value": 0.0031318406,
"description": "queryNorm"
}
]
},
{
"value": 8.262557,
"description": "fieldWeight in 8149365, product of:",
"details": [
{
"value": 1,
"description": "tf(freq=1.0), with freq of:",
"details": [
{
"value": 1,
"description": "termFreq=1.0"
}
]
},
{
"value": 8.262557,
"description": "idf(docFreq=13047, maxDocs=18605118)"
},
{
"value": 1,
"description": "fieldNorm(doc=8149365)"
}
]
}
]
}
]
},
I expected both scorings to be equal, but due to the missing queryWeight of
the first documents the order of the results get messed up. I expected the
queryWeight to appear in both cases, do I get something wrong? can it be a
bug even?
Would be great if you can help!
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/33493e48-a078-4d4d-ae68-347a27860fbb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.