[ 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org