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

throw IAE on illegal bm25 parameter values

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.5, 6.0
    • None
    • None
    • New

    Description

      Rather than strange behavior, we should throw an exception if these values are wrong.

      This can often detect if the two values got "mixed up", because typical values of k1 are > 1 (e.g. 1.2, 2.0), but b is only defined between 0 and 1.

      Attachments

        1. LUCENE-6982.patch
          3 kB
          Robert Muir

        Activity

          People

            Unassigned Unassigned
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: