Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-5149

CommonTermsQuery should allow minNrShouldMatch for high & low freq terms

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: 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
        simonw Simon Willnauer added a comment -

        here is a patch

        Show
        simonw Simon Willnauer added a comment - here is a patch
        Hide
        jira-bot 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
        jira-bot 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
        jira-bot 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
        jira-bot 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
        jpountz Adrien Grand added a comment -

        4.5 release -> bulk close

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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development