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

Should we require positive scores?

Details

    • Wish
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 8.0
    • None
    • None
    • New

    Description

      Having worked on MAXSCORE recently, things would be simpler if we required that scores are positive. Practically, this would mean

      • forbidding/fixing similarities that may produce negative scores (we have some of them)
      • forbidding things like negative boosts

      So I'd be curious to have opinions whether this would be a sane requirement or whether we need to be able to cope with negative scores eg. because some similarities that we want to support produce negative scores by design.

      Attachments

        1. LUCENE-7996.patch
          35 kB
          Adrien Grand
        2. LUCENE-7996.patch
          31 kB
          Adrien Grand
        3. LUCENE-7996.patch
          16 kB
          Adrien Grand

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jpountz Adrien Grand
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: