Bogdan Stoica created SOLR-12235:
------------------------------------
Summary: Incomplete debugQuery info when using edismax and boost
param
Key: SOLR-12235
URL: https://issues.apache.org/jira/browse/SOLR-12235
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Components: search
Affects Versions: 7.3
Environment: Solr 7.3.0, Java 1.8.0_162
Reporter: Bogdan Stoica
There is an issue with the way SOLR 7.3 outputs explain information when using
edismax and
boost param.
Example query:
/select?boost=results&debugQuery=on&defType=edismax&q=word&qf=text
Solr 7.3 outputs:
{code:java}
<str name="word">
31349.63 = product of: 1.0 = boost 31349.63 = boost(double(results))
</str>{code}
In comparrison, Solr 7.2.1 returns the following:
{code:java}
<str name="word">
31349.63 = boost(text:word,double(results)), product of: 14.400382 =
weight(text:word in 18142) [SchemaSimilarity], result of: 14.400382 =
score(doc=18142,freq=1.0 = termFreq=1.0 ), product of: 10.677335 = idf,
computed as log(1 + (docCount - docFreq + 0.5) / (docFreq + 0.5)) from: 6.0 =
docFreq 281851.0 = docCount 1.3486869 = tfNorm, computed as (freq * (k1 + 1)) /
(freq + k1 * (1 - b + b * fieldLength / avgFieldLength)) from: 1.0 =
termFreq=1.0 1.2 = parameter k1 0.75 = parameter b 2.7172585 = avgFieldLength
1.0 = fieldLength 2177.0 = double(results)=2177.0
</str>{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]