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

Bound values of boosts

Details

    • Task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • 8.1
    • None
    • None
    • New

    Description

      We allow any boosts to be passed down to similarities, eg. via BoostQuery. This is a bit trappy since it means that you can make scores rounded down to 0 and/or slow to compute (because of subnormal floats) by using tiny boosts, or infinite scores if you pass boosts that are too close to the float max value.

      I would like to restrict boosts to be either +0 or between 2 -10 and 2 10 .

      Any objections?

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: