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

Simplify Explanation API

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 5.2, 6.0
    • None
    • None
    • New

    Description

      We should make this API easier to consume, for instance:

      • enforce important components to be non-null (eg. description)
      • decouple entirely the score computation from whether there is a match or not (Explanation assumes there is a match if the score is > 0, you need to use ComplexExplanation to override this behaviour)
      • return an empty array instead of null when there are no "details"

      Attachments

        1. LUCENE-6446.patch
          113 kB
          Adrien Grand

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: