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

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 9.0, 8.8
    • None
    • None
    • 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

              Unassigned Unassigned
              jim.ferenczi Jim Ferenczi
              Votes:
              0 Vote for this issue
              Watchers:
              3 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