Lucene - Core
  1. Lucene - Core
  2. LUCENE-5149

CommonTermsQuery should allow minNrShouldMatch for high & low freq terms

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.4
    • Fix Version/s: 4.5, 6.0
    • Component/s: modules/other
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      Currently CommonTermsQuery only allows a minShouldMatch for the low frequent query. Yet, we should also allow this for the high frequent part to have better control over scoring. here is an ES issue that is related to this:

      https://github.com/elasticsearch/elasticsearch/issues/3188

      1. LUCENE-5149.patch
        11 kB
        Simon Willnauer

        Activity

        Hide
        Simon Willnauer added a comment -

        here is a patch

        Show
        Simon Willnauer added a comment - here is a patch
        Hide
        ASF subversion and git services added a comment -

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

        LUCENE-5149: CommonTermsQuery should allow minNrShouldMatch for high & low freq terms

        Show
        ASF subversion and git services added a comment - Commit 1508453 from Simon Willnauer in branch 'dev/trunk' [ https://svn.apache.org/r1508453 ] LUCENE-5149 : CommonTermsQuery should allow minNrShouldMatch for high & low freq terms
        Hide
        ASF subversion and git services added a comment -

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

        LUCENE-5149: CommonTermsQuery should allow minNrShouldMatch for high & low freq terms

        Show
        ASF subversion and git services added a comment - Commit 1508455 from Simon Willnauer in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1508455 ] LUCENE-5149 : CommonTermsQuery should allow minNrShouldMatch for high & low freq terms
        Hide
        Adrien Grand added a comment -

        4.5 release -> bulk close

        Show
        Adrien Grand added a comment - 4.5 release -> bulk close

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development