Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-15114

WAND does not work correctly on multiple segments in Solr 8.6.3

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 8.6, 8.7, 8.8
    • 9.0, 8.8.1, 8.9
    • None
    • None

    Description

      In Solr 8.6.3, minCompetitiveScore of WANDScorer resets to zero for each index segment and remain zero until maxScore is updated.
      There are two causes of this problem:

      • MaxScoreCollector does not set minCompetitiveScore of MinCompetitiveScoreAwareScorable newly generated for another index segment.
      • MaxScoreCollector updates minCompetitiveScore only if maxScore is updated. This behavior is correct considering the purpose of MaxScoreCollector.

      For details, see the attached pdf.

      Note

      This problem occurs in distributed search (SolrCloud) or the fl=score parameter specified.

      Attachments

        1. wand.pdf
          492 kB
          Naoto Minami

        Issue Links

          Activity

            People

              tflobbe Tomas Eduardo Fernandez Lobbe
              nminami Naoto Minami
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m