You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Markus Jelsma (JIRA)" <ji...@apache.org> on 2012/06/08 11:20:22 UTC

[jira] [Created] (SOLR-3525) Per-field similarity should display used impl. in debug output broken

Markus Jelsma created SOLR-3525:
-----------------------------------

             Summary: 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


[jira] [Commented] (SOLR-3525) Per-field similarity should display used impl. in debug output broken

Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
    [ 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


[jira] [Updated] (SOLR-3525) Per-field similarity should display used impl. in debug output broken

Posted by "Hoss Man (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hoss Man updated SOLR-3525:
---------------------------

    Fix Version/s:     (was: 4.0)

removing fixVersion=4.0 since there is no evidence that anyone is currently working on this issue.  (this can certainly be revisited if volunteers step forward)

                
> 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-ALPHA
>            Reporter: Markus Jelsma
>            Priority: Minor
>
> 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
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