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

Add estimateDocCount to DocIdSetIterator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0
    • 4.3, 6.0
    • core/search
    • None
    • New, Patch Available

    Description

      this is essentially a spinnoff from LUCENE-4236
      We currently have no way to make any decsision on how costly a DISI is neither when we apply filters nor when we build conjunctions in BQ. Yet we have most of the information already and can easily expose them via a cost API such that BS and FilteredQuery can apply optimizations on per segment basis.

      Attachments

        1. LUCENE-4607.patch
          75 kB
          Robert Muir
        2. LUCENE-4607.patch
          90 kB
          Simon Willnauer

        Issue Links

          Activity

            People

              Unassigned Unassigned
              simonw Simon Willnauer
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: