lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christine Poerschke (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-12235) Incomplete debugQuery info when using edismax and boost param
Date Wed, 09 May 2018 20:18:00 GMT

    [ https://issues.apache.org/jira/browse/SOLR-12235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16469422#comment-16469422
] 

Christine Poerschke commented on SOLR-12235:
--------------------------------------------

Thanks [~bogdanstoik] and [~stefan.langenmaier] for reporting this issue here and in SOLR-12323
with how-to-reproduce steps.

I've done a quick scan through {{solr/CHANGES.txt}} and nothing jumped out to me as obvious
point to start looking into.

Slightly more systematically, a next investigative step could be to build a small exploratory
test case - e.g. based upon https://github.com/apache/lucene-solr/blob/master/solr/core/src/test/org/apache/solr/HelloWorldSolrCloudTestCase.java
- which passes at https://github.com/apache/lucene-solr/tree/releases/lucene-solr/7.2.1 commit
point but fails on https://github.com/apache/lucene-solr/tree/releases/lucene-solr/7.3.0 commit
point and then to 'zoom in' towards the unknown commit point(s) in between at which the info
went missing.

> 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: query parsers, search
>    Affects Versions: 7.3
>         Environment: Solr 7.3.0, Java 1.8.0_162
>            Reporter: Bogdan Stoica
>            Priority: Minor
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message