Lucene - Core
  1. Lucene - Core
  2. LUCENE-2144

InstantiatedIndexReader does not handle #termDocs(null) correct (AllTermDocs)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.9, 2.9.1, 3.0
    • Fix Version/s: 2.9.2, 3.0.1, 4.0-ALPHA
    • Component/s: modules/other
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      This patch contains core changes so someone else needs to commit it.

      Due to the incompatible #termDocs(null) behaviour at least MatchAllDocsQuery, FieldCacheRangeFilter and ValueSourceQuery fails using II since 2.9.

      AllTermDocs now has a superclass, AbstractAllTermDocs that also InstantiatedAllTermDocs extend.

      Also:

      • II-tests made less plausable to pass on future incompatible changes to TermDocs and TermEnum
      • IITermDocs#skipTo and #next mimics the behaviour of document posisioning from SegmentTermDocs#dito when returning false
      • II now uses BitVector rather than sets for deleted documents
      1. LUCENE-2144.txt
        28 kB
        Karl Wettin
      2. LUCENE-2144-30.patch
        27 kB
        Michael McCandless

        Activity

        Karl Wettin created issue -
        Karl Wettin made changes -
        Field Original Value New Value
        Attachment LUCENE-2144.txt [ 12427629 ]
        Michael McCandless made changes -
        Assignee Michael McCandless [ mikemccand ]
        Michael McCandless made changes -
        Attachment LUCENE-2144-30.patch [ 12427642 ]
        Michael McCandless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 3.0.1 [ 12314401 ]
        Fix Version/s 3.1 [ 12314025 ]
        Resolution Fixed [ 1 ]
        Uwe Schindler made changes -
        Fix Version/s 2.9.2 [ 12314342 ]
        Uwe Schindler made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mark Thomas made changes -
        Workflow jira [ 12484377 ] Default workflow, editable Closed status [ 12563472 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12563472 ] jira [ 12585069 ]

          People

          • Assignee:
            Michael McCandless
            Reporter:
            Karl Wettin
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development