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

Make CommonTermsQuery#setMinShouldMatch useful

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.1
    • 4.2, 6.0
    • modules/other
    • None
    • New, Patch Available

    Description

      Currently common terms query accepts an integer as minimumNumShouldMatch which is kind of odd since the number of low freq terms is determined during rewrite. We should make this extendable and use a float by default that works similar to the cutoff frequency we use where a range between [0..1) means a fraction of the actual count and a num >= 1.0 an absolute value.

      Attachments

        1. LUCENE-4727.patch
          8 kB
          Simon Willnauer

        Activity

          People

            simonw Simon Willnauer
            simonw Simon Willnauer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: