[ https://issues.apache.org/jira/browse/SOLR-5042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13800274#comment-13800274 ]
ASF subversion and git services commented on SOLR-5042: ------------------------------------------------------- Commit 1534005 from [~elyograg] in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1534005 ] SOLR-5042 SOLR-5125 SOLR-5368: mlt.count used incorrectly in MoreLikeThisComponent. (merge trunk r1533995) > MoreLikeThis doesn't return a score when mlt.count is set to 10 > --------------------------------------------------------------- > > Key: SOLR-5042 > URL: https://issues.apache.org/jira/browse/SOLR-5042 > Project: Solr > Issue Type: Bug > Components: MoreLikeThis > Affects Versions: 4.3 > Reporter: Josh Curran > Priority: Minor > Attachments: SOLR-5042.patch > > > The problem appears to be around the mlt.count with in the solrconfig.xml. > When this value is set to 10, the 10 values that have been identified as > 'most like this' are returned with the original query, however the 'score' > field is missing. > Changing the mlt.count to say 11 and issuing the same query then the 'score' > field is returned with the same query. This appears to be the workaround. 11 > was just an arbitrary value, 12 or 15 also work > The same problem was raised on stackoverflow > http://stackoverflow.com/questions/16513719/solr-more-like-this-dont-return-score-while-specify-mlt-count -- This message was sent by Atlassian JIRA (v6.1#6144) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org