Lucene - Core
  1. Lucene - Core
  2. LUCENE-5264

CommonTermsQuery ignores minMustMatch if only high freq terms are present.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.5, 6.0
    • Fix Version/s: 4.5.1, 4.6, 6.0
    • Component/s: modules/other
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      if we only have high freq terms we move to a pure conjunction and ignore the min must match entirely if it is > 0.

      1. LUCENE-5264.patch
        3 kB
        Simon Willnauer

        Activity

        Hide
        Simon Willnauer added a comment -

        here is a patch and a dedicated test

        Show
        Simon Willnauer added a comment - here is a patch and a dedicated test
        Hide
        Adrien Grand added a comment -

        +1

        Show
        Adrien Grand added a comment - +1
        Hide
        ASF subversion and git services added a comment -

        Commit 1530651 from Simon Willnauer in branch 'dev/trunk'
        [ https://svn.apache.org/r1530651 ]

        LUCENE-5264: CommonTermsQuery ignores minMustMatch if only high freq terms are present

        Show
        ASF subversion and git services added a comment - Commit 1530651 from Simon Willnauer in branch 'dev/trunk' [ https://svn.apache.org/r1530651 ] LUCENE-5264 : CommonTermsQuery ignores minMustMatch if only high freq terms are present
        Hide
        ASF subversion and git services added a comment -

        Commit 1530657 from Simon Willnauer in branch 'dev/branches/branch_4x'
        [ https://svn.apache.org/r1530657 ]

        LUCENE-5264: CommonTermsQuery ignores minMustMatch if only high freq terms are present

        Show
        ASF subversion and git services added a comment - Commit 1530657 from Simon Willnauer in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1530657 ] LUCENE-5264 : CommonTermsQuery ignores minMustMatch if only high freq terms are present
        Hide
        ASF subversion and git services added a comment -

        Commit 1530845 from Robert Muir in branch 'dev/branches/lucene_solr_4_5'
        [ https://svn.apache.org/r1530845 ]

        LUCENE-4998, LUCENE-5242, LUCENE-5254, LUCENE-5262, LUCENE-5263, LUCENE-5264: svn merge -c 1522723 -c 1525896 -c 1529136 -c 1529141 -c 1530063 -c 1530416 -c 1530657

        Show
        ASF subversion and git services added a comment - Commit 1530845 from Robert Muir in branch 'dev/branches/lucene_solr_4_5' [ https://svn.apache.org/r1530845 ] LUCENE-4998 , LUCENE-5242 , LUCENE-5254 , LUCENE-5262 , LUCENE-5263 , LUCENE-5264 : svn merge -c 1522723 -c 1525896 -c 1529136 -c 1529141 -c 1530063 -c 1530416 -c 1530657

          People

          • Assignee:
            Simon Willnauer
            Reporter:
            Simon Willnauer
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development