[
https://issues.apache.org/jira/browse/LUCENE-8049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16266356#comment-16266356
]
ASF subversion and git services commented on LUCENE-8049:
---------------------------------------------------------
Commit 3b0686a4d38df2a72f9e6cb339e7cd8a3e0d526a in lucene-solr's branch
refs/heads/master from [~dsmiley]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=3b0686a ]
LUCENE-8049: CHANGES.txt: moved to 7.2.0 from 8.0.0
> IndexWriter.getMergingSegments should return a Set, not Collection
> ------------------------------------------------------------------
>
> Key: LUCENE-8049
> URL: https://issues.apache.org/jira/browse/LUCENE-8049
> Project: Lucene - Core
> Issue Type: Improvement
> Components: core/index
> Reporter: David Smiley
> Assignee: David Smiley
> Priority: Minor
> Attachments: LUCENE_8049.patch
>
>
> IndexWriter.getMergingSegments is called by the MergePolicy so that it can
> filter out segments to merge using mergingSegments.contains(seg). The
> implementation is a HashSet, thankfully but the declared type of this method
> ought to be defined as a Set as well.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]