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

GlobalOrdinalsWithScore should not compute occurrences when the provided min is 1

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: main (9.0), 8.8
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      This is a continuation of https://issues.apache.org/jira/browse/LUCENE-9022

      Today the GlobalOrdinalsWithScore collector and query checks the number of matching docs per parent if the provided min is greater than 0. However we should also not compute the occurrences of children when min is equals to 1 since this is the minimum requirement for a document to match.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jim.ferenczi Jim Ferenczi
              • Votes:
                0 Vote for this issue
                Watchers:
                2 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 - 40m
                  40m