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

Reconsider the best way to encode postings now that we can skip non-competitive hits

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • None
    • New

    Description

      The fact that we now skip non competitive hits has some implications to our postings:
       - we are now more likely to call advance vs. nextDoc
       - we are less likely to read term frequency for a given doc, since we only do that if the maximum score reported by impacts is competitive

      • we are less likely to read positions for a given doc, since exact phrase queries first check the maximum score that would be obtained with a phrase freq equal to the minimum of all term freqs

      It might be a good opportunity to re-explore the best way to encode postings.

       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: