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

throw IAE on illegal bm25 parameter values

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.5, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: