Lucene - Core
  1. Lucene - Core
  2. LUCENE-5151

Associations aggregators enter an infinite loop if some documents have no category associations

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.5, 6.0
    • Component/s: modules/facet
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      Stupid error, they do this:

      if (bytes.length == 0) {
        continue;
      }
      

      Since they don't advance 'doc', the hang on that if forever. I'll post a fix soon.

        Activity

        Hide
        Shai Erera added a comment -

        Simple fix. I modified the test to insert some empty documents in the middle. I'll commit shortly.

        Show
        Shai Erera added a comment - Simple fix. I modified the test to insert some empty documents in the middle. I'll commit shortly.
        Hide
        ASF subversion and git services added a comment -

        Commit 1508440 from Shai Erera in branch 'dev/trunk'
        [ https://svn.apache.org/r1508440 ]

        LUCENE-5151: Associations aggregators enter an infinite loop if some documents have no category associations

        Show
        ASF subversion and git services added a comment - Commit 1508440 from Shai Erera in branch 'dev/trunk' [ https://svn.apache.org/r1508440 ] LUCENE-5151 : Associations aggregators enter an infinite loop if some documents have no category associations
        Hide
        ASF subversion and git services added a comment -

        Commit 1508451 from Shai Erera in branch 'dev/branches/branch_4x'
        [ https://svn.apache.org/r1508451 ]

        LUCENE-5151: Associations aggregators enter an infinite loop if some documents have no category associations

        Show
        ASF subversion and git services added a comment - Commit 1508451 from Shai Erera in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1508451 ] LUCENE-5151 : Associations aggregators enter an infinite loop if some documents have no category associations
        Hide
        Shai Erera added a comment -

        Committed.

        Show
        Shai Erera added a comment - Committed.
        Hide
        Adrien Grand added a comment -

        4.5 release -> bulk close

        Show
        Adrien Grand added a comment - 4.5 release -> bulk close

          People

          • Assignee:
            Shai Erera
            Reporter:
            Shai Erera
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development