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

Lucene50PostingsReader should specialize reading docs+freqs with impacts

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None
    • New

    Description

      Currently if you ask for impacts, we only have one implementation that is able to expose everything: docs, freqs, positions and offsets. In contrast, if you don't need impacts, we have specialization for docs+freqs, docs+freqs+positions and docs+freqs+positions+offsets.

      Maybe we should add specialization for the docs+freqs case with impacts, which should be the most common case, and remove specialization for docs+freqs+positions when impacts are not requested?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jpountz Adrien Grand
              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 - 2.5h
                  2.5h