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

Allow the MoreLikeThis component to accept filters and use the already parsed query from previous stages (if applicable) as seed.

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 4.9, 6.0
    • Component/s: MoreLikeThis
    • Labels:
      None

      Description

      Currently the MLT component doesn't accept filter queries specified on the URL which my application needed (I needed to restrict similar results by a lat/long bounding box). This patch also attempts to solve the issue of allowing the boost functions of the dismax to be used in the MLT component by using the query object created by the QueryComponent to OR with the query created by the MLT as part of the final query. In a blank dismax query with no query/phrase clauses, this works although a separate BF definition/parsing would be ideal.

      1. mlt.patch
        4 kB
        Amit Nithian

        Activity

        Hide
        thetaphi Uwe Schindler added a comment -

        Move issue to Solr 4.9.

        Show
        thetaphi Uwe Schindler added a comment - Move issue to Solr 4.9.
        Hide
        steve_rowe Steve Rowe added a comment -

        Bulk move 4.4 issues to 4.5 and 5.0

        Show
        steve_rowe Steve Rowe added a comment - Bulk move 4.4 issues to 4.5 and 5.0
        Hide
        hossman Hoss Man added a comment -

        Bulk of fixVersion=3.6 -> fixVersion=4.0 for issues that have no assignee and have not been updated recently.

        email notification suppressed to prevent mass-spam
        psuedo-unique token identifying these issues: hoss20120321nofix36

        Show
        hossman Hoss Man added a comment - Bulk of fixVersion=3.6 -> fixVersion=4.0 for issues that have no assignee and have not been updated recently. email notification suppressed to prevent mass-spam psuedo-unique token identifying these issues: hoss20120321nofix36
        Hide
        sameh.hamza Sameh Hamza added a comment -

        I've successfully applied that patch and compiled, could you please explain what files/folders should i upload to live server to apply and how can I test it.

        Many thanks
        Sameh

        Show
        sameh.hamza Sameh Hamza added a comment - I've successfully applied that patch and compiled, could you please explain what files/folders should i upload to live server to apply and how can I test it. Many thanks Sameh
        Hide
        rcmuir Robert Muir added a comment -

        3.4 -> 3.5

        Show
        rcmuir Robert Muir added a comment - 3.4 -> 3.5
        Hide
        rcmuir Robert Muir added a comment -

        Bulk move 3.2 -> 3.3

        Show
        rcmuir Robert Muir added a comment - Bulk move 3.2 -> 3.3

          People

          • Assignee:
            Unassigned
            Reporter:
            anithian Amit Nithian
          • Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:

              Development