Lucene - Core
  1. Lucene - Core
  2. LUCENE-6395

Seeking by term ord is broken in MemoryIndex

    Details

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

      Description

      MemoryIndex fails to set the term's bytes when you seek by ord.

      I hit this in LUCENE-5860 ...

      1. LUCENE-6395.patch
        3 kB
        Michael McCandless

        Activity

        Hide
        Michael McCandless added a comment -

        Simple patch: 1 line fix + test case. I think it's ready ...

        Show
        Michael McCandless added a comment - Simple patch: 1 line fix + test case. I think it's ready ...
        Hide
        ASF subversion and git services added a comment -

        Commit 1671540 from Michael McCandless in branch 'dev/trunk'
        [ https://svn.apache.org/r1671540 ]

        LUCENE-6395: MemoryIndex's TermsEnum.seekExact(long ord) was failing to set the term bytes

        Show
        ASF subversion and git services added a comment - Commit 1671540 from Michael McCandless in branch 'dev/trunk' [ https://svn.apache.org/r1671540 ] LUCENE-6395 : MemoryIndex's TermsEnum.seekExact(long ord) was failing to set the term bytes
        Hide
        ASF subversion and git services added a comment -

        Commit 1671541 from Michael McCandless in branch 'dev/branches/branch_5x'
        [ https://svn.apache.org/r1671541 ]

        LUCENE-6395: MemoryIndex's TermsEnum.seekExact(long ord) was failing to set the term bytes

        Show
        ASF subversion and git services added a comment - Commit 1671541 from Michael McCandless in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1671541 ] LUCENE-6395 : MemoryIndex's TermsEnum.seekExact(long ord) was failing to set the term bytes
        Hide
        ASF subversion and git services added a comment -

        Commit 1671542 from Michael McCandless in branch 'dev/branches/lucene_solr_5_1'
        [ https://svn.apache.org/r1671542 ]

        LUCENE-6395: MemoryIndex's TermsEnum.seekExact(long ord) was failing to set the term bytes

        Show
        ASF subversion and git services added a comment - Commit 1671542 from Michael McCandless in branch 'dev/branches/lucene_solr_5_1' [ https://svn.apache.org/r1671542 ] LUCENE-6395 : MemoryIndex's TermsEnum.seekExact(long ord) was failing to set the term bytes
        Hide
        Timothy Potter added a comment -

        Bulk close after 5.1 release

        Show
        Timothy Potter added a comment - Bulk close after 5.1 release

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development