[
https://issues.apache.org/jira/browse/LUCENE-7779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15966645#comment-15966645
]
ASF subversion and git services commented on LUCENE-7779:
---------------------------------------------------------
Commit 6b8d9fbba0efd8b59caa213dd954b779012d7112 in lucene-solr's branch
refs/heads/branch_6x from Mike McCandless
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=6b8d9fb ]
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]