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

ConjunctionDISI should recognize DocIdSetIterator.all

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • None
    • None
    • core/search
    • None
    • New

    Description

      ConjunctionDISI creates an aggregation of some leaf DocIdSetIterators & TwoPhaseIterators. It's not uncommon for DocIdSetIterator.all(...) to wind up inside it, producing an aggregation that is a little more bulky than it needs be. This can happen frequently with the ValueSource APIs which have queries like FunctionMatchQuery that use this for the "approximation" alongside a TwoPhaseIterator.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dsmiley David Smiley
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: