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

Fix pulsingcodec to reuse its enums

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0-ALPHA
    • 4.0-ALPHA
    • None
    • None
    • New

    Description

      PulsingCodec currently doesnt always reuse its enums, which could lead to behavior like LUCENE-3515.

      The problem is sometimes it returns the 'wrapped' enum, but other times it returns its 'pulsingenum' depending upon
      whether terms are pulsed...

      we can use the fact that these enums allow attributes to keep the reuse information for both so it can reuse when stepping through terms.

      Attachments

        1. LUCENE-3517.patch
          5 kB
          Robert Muir
        2. LUCENE-3517.patch
          9 kB
          Robert Muir
        3. LUCENE-3517.patch
          9 kB
          Robert Muir
        4. LUCENE-3517.patch
          15 kB
          Robert Muir

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: