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

support field level boosting to morelikethis handler.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.3
    • 1.3
    • search
    • None

    Description

      Allow boosting to be specified for particular fields when using more like this.

      1. Parse out "mlt.qf parameters" to get boosts in dismax like format (existing code from DisMax param parse code used to produce a Map<String,Float>)
      2. Iterate through mltquery terms, get boost by looking at field from which mltquery term came, and multiply boost specified in map by existing term boost.
      • If mlt.boost=false, then you get the same boost values as in map/mlt.qf parameters,
      • If mlt.boost=true then you get normalized boost multiplied by specified boost (which makes sense to me).

      Attachments

        1. SOLR-595.patch
          8 kB
          Tom Morton

        Activity

          People

            gsingers Grant Ingersoll
            tsmorton Tom Morton
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 3h
                3h
                Remaining:
                Remaining Estimate - 3h
                3h
                Logged:
                Time Spent - Not Specified
                Not Specified