Solr
  1. Solr
  2. SOLR-5042

MoreLikeThis doesn't return a score when mlt.count is set to 10

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.3
    • Fix Version/s: 4.6
    • Component/s: MoreLikeThis
    • Labels:
      None

      Description

      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

      1. SOLR-5042.4.2.1.patch
        5 kB
        Bill Mitchell
      2. SOLR-5042.patch
        2 kB
        Anshum Gupta

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Shawn Heisey
              Reporter:
              Josh Curran
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development