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.

        Attachments

        1. mlt.patch
          4 kB
          Amit Nithian

          Activity

            People

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

              Dates

              • Created:
                Updated: