lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3525) Per-field similarity should display used impl. in debug output broken
Date Fri, 08 Jun 2012 09:31:23 GMT

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

Robert Muir commented on SOLR-3525:
-----------------------------------

note: its an impl detail of PerFieldSimilarityWrapper that it does different things for different
fields.
The reason you probably get blank brackets is because the weight uses [" + similarity.getClass().getSimpleName()
+ "]
In the solr case this is an anonymous class.

If we want to keep this (I just added it for debugging, we could also just remove it), probably
better instead print 
the class of whats scoring the documents: so you would see "ExactBM25DocScorer" or "SloppyTFIDFDocScorer".
                
> Per-field similarity should display used impl. in debug output broken
> ---------------------------------------------------------------------
>
>                 Key: SOLR-3525
>                 URL: https://issues.apache.org/jira/browse/SOLR-3525
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 4.0
>            Reporter: Markus Jelsma
>            Priority: Minor
>             Fix For: 4.0
>
>
> When using per-field similarity debugQuery should display the used similarity implementation
for each match.
> Right now it's broken and displays empty brackets:
> 112.33515 = (MATCH) weight(content:blah in 273) [], result of:

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message