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

Decouple payload decoding from Similarity

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.2
    • None
    • None
    • New

    Description

      PayloadScoreQuery is the only place that currently uses SimScorer.computePayloadFactor(), and as discussed on LUCENE-8014, this seems like the wrong place for it. We should instead add a PayloadDecoder abstraction that is passed to PayloadScoreQuery.

      Attachments

        1. LUCENE-8038.patch
          27 kB
          Alan Woodward
        2. LUCENE-8038-master.patch
          25 kB
          Alan Woodward

        Issue Links

          Activity

            People

              romseygeek Alan Woodward
              romseygeek Alan Woodward
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: