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

Use the cost API instead of a heuristic on the first document in FilteredQuery to decide on whether to use random access

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 5.0
    • None
    • None
    • New

    Description

      Now that some major filters such as TermsFilter and MultiTermQueryWrapperFilter return DocIdSets that have a better cost, we should switch to the cost API.

      Attachments

        1. LUCENE-5979.patch
          7 kB
          Adrien Grand

        Issue Links

          Activity

            People

              jpountz Adrien Grand
              jpountz Adrien Grand
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: