[ https://issues.apache.org/jira/browse/LUCENE-8049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16266357#comment-16266357 ]
ASF subversion and git services commented on LUCENE-8049: --------------------------------------------------------- Commit 4e154cf85df55c8a063e93439377478aa967d99e in lucene-solr's branch refs/heads/branch_7x from [~dsmiley] [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=4e154cf ] LUCENE-8049: IndexWriter.getMergingSegments() signature changed to return Set instead of Collection (cherry picked from commit 64d95e6) > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org