Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0-ALPHA
    • Fix Version/s: 4.0-ALPHA
    • Component/s: core/index
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      Fix the logic for retrieving term offsets from DocsAndPositionsEnum on a MemoryIndex, and allow subclasses to access them.

      1. mindex.patch
        2 kB
        Alan Woodward

        Activity

        Hide
        Alan Woodward added a comment -

        This patch corrects the DocsAndPositionsEnum iterator logic to deal with cases where term offsets are stored in the postings lists. It also changes the advanced constructor from private to protected, to allow subclasses to store term offsets.

        Show
        Alan Woodward added a comment - This patch corrects the DocsAndPositionsEnum iterator logic to deal with cases where term offsets are stored in the postings lists. It also changes the advanced constructor from private to protected, to allow subclasses to store term offsets.
        Hide
        Michael McCandless added a comment -

        I just committed this.

        Thanks Alan!

        Show
        Michael McCandless added a comment - I just committed this. Thanks Alan!

          People

          • Assignee:
            Michael McCandless
            Reporter:
            Alan Woodward
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development