Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-5042

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.3
    • 4.6
    • MoreLikeThis
    • 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

      Attachments

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

        Issue Links

          Activity

            People

              elyograg Shawn Heisey
              joshcurran Josh Curran
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: