[
https://issues.apache.org/jira/browse/LUCENE-7779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15966642#comment-15966642
]
ASF subversion and git services commented on LUCENE-7779:
---------------------------------------------------------
Commit b954f220e0321a31b9dc3d6a7e19a552dd58e0b1 in lucene-solr's branch
refs/heads/master from Mike McCandless
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=b954f22 ]
LUCENE-7779: don't call BytesSequencesReader.next again after it already
returned null
> OfflineSorter should not call ByteSequencesReader.next again after it returns
> null
> ----------------------------------------------------------------------------------
>
> Key: LUCENE-7779
> URL: https://issues.apache.org/jira/browse/LUCENE-7779
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Michael McCandless
> Assignee: Michael McCandless
> Fix For: master (7.0), 6.6
>
> Attachments: LUCENE-7779.patch, LUCENE-7779.patch
>
>
> {{OfflineSorter}} uses a simple iterator class, {{ByteSequencesReader}}, to
> step through all {{byte[]}} that need sorting.
> When its {{next}} method returns null the iteration is done.
> But {{OfflineSorter}} then calls next again after that null return ...
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]