[ https://issues.apache.org/jira/browse/LUCENE-3084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13032099#comment-13032099 ]
Earwin Burrfoot commented on LUCENE-3084: ----------------------------------------- bq. Merges are ordered Hmm.. Why should they be? bq. SegmentInfos itself must be list It may contain list as a field instead. And have a much cleaner API as a consequence. On another note, I wonder, is the fact that Vector is internally synchronized used somewhere within SegmentInfos client code? > MergePolicy.OneMerge.segments should be List<SegmentInfo> not SegmentInfos > -------------------------------------------------------------------------- > > Key: LUCENE-3084 > URL: https://issues.apache.org/jira/browse/LUCENE-3084 > Project: Lucene - Java > Issue Type: Improvement > Reporter: Michael McCandless > Assignee: Michael McCandless > Priority: Minor > Fix For: 3.2, 4.0 > > Attachments: LUCENE-3084-trunk-only.patch, > LUCENE-3084-trunk-only.patch, LUCENE-3084.patch > > > SegmentInfos carries a bunch of fields beyond the list of SI, but for merging > purposes these fields are unused. > We should cutover to List<SI> instead. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org