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

DocTermsOrds lookupTerm is wrong in some cases

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.9, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      needs the following two conditions:

      • underlying termsenum supports ord()
      • the term you lookup would be inserted at the end (e.g. seek returns END)

      the fix is simple, it just needs to handle SeekStatus.END properly.

        Activity

        Hide
        rcmuir Robert Muir added a comment -

        patch with a test. We should backport to 4.x too

        Show
        rcmuir Robert Muir added a comment - patch with a test. We should backport to 4.x too
        Hide
        mikemccand Michael McCandless added a comment -

        +1, nice catch!

        Show
        mikemccand Michael McCandless added a comment - +1, nice catch!
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 1596370 from Robert Muir in branch 'dev/trunk'
        [ https://svn.apache.org/r1596370 ]

        LUCENE-5691: DocTermOrds lookupTerm is wrong in some cases

        Show
        jira-bot ASF subversion and git services added a comment - Commit 1596370 from Robert Muir in branch 'dev/trunk' [ https://svn.apache.org/r1596370 ] LUCENE-5691 : DocTermOrds lookupTerm is wrong in some cases
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 1596371 from Robert Muir in branch 'dev/branches/branch_4x'
        [ https://svn.apache.org/r1596371 ]

        LUCENE-5691: DocTermOrds lookupTerm is wrong in some cases

        Show
        jira-bot ASF subversion and git services added a comment - Commit 1596371 from Robert Muir in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1596371 ] LUCENE-5691 : DocTermOrds lookupTerm is wrong in some cases

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development