You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shai Erera (JIRA)" <ji...@apache.org> on 2013/07/30 15:01:54 UTC

[jira] [Updated] (LUCENE-5151) Associations aggregators enter an infinite loop if some documents have no category associations

     [ https://issues.apache.org/jira/browse/LUCENE-5151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shai Erera updated LUCENE-5151:
-------------------------------

    Attachment: LUCENE-5151.patch

Simple fix. I modified the test to insert some empty documents in the middle. I'll commit shortly.
                
> Associations aggregators enter an infinite loop if some documents have no category associations
> -----------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-5151
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5151
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/facet
>            Reporter: Shai Erera
>            Assignee: Shai Erera
>         Attachments: LUCENE-5151.patch
>
>
> Stupid error, they do this:
> {code}
> if (bytes.length == 0) {
>   continue;
> }
> {code}
> Since they don't advance 'doc', the hang on that if forever. I'll post a fix soon.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org