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

Don't decode unnecessary freq blocks in 4.1 codec

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1
    • Fix Version/s: 4.1, 6.0
    • Component/s: core/codecs
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      TermsEnum.docs() has an expert flag to specify you don't require frequencies. This is currently set by some things that don't need it: we should call ForUtil.skipBlock instead of ForUtil.readBlock in this case.

        Attachments

        1. LUCENE-4496.patch
          16 kB
          Robert Muir
        2. LUCENE-4496.patch
          6 kB
          Robert Muir
        3. LUCENE-4496.patch
          2 kB
          Robert Muir

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rcmuir Robert Muir
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: