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

Don't decode unnecessary freq blocks in 4.1 codec

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.1
    • 4.1, 6.0
    • core/codecs
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: