Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
New
Description
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.