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

edismax, synonyms and mm=100%

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • None
    • 4.0
    • query parsers
    • None

    Description

      There is a problem with query-side synonyms, edismax and must-match=100%.

      edismax interprets must-match=100% as "number of terms found by edismax from the original query". These terms go through the query analyzer, and the synonym filter creates more terms, but the must-match term count is not incremented. Thus, given a synonym of

      monkeyhouse => monkey house
      

      the query q=big+monkeyhouse&mm=100% becomes (effectively) q=big+monkey+house&mm=2. This query finds documents matching only two out of three terms big+monkey, monkey+house, big+house.

      This might also be a problem in dismax.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lancenorskog Lance Norskog
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: