[ https://issues.apache.org/jira/browse/LUCENE-1584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12718231#action_12718231 ]
Jason Rutherglen commented on LUCENE-1584: ------------------------------------------ We can make it protected that way it's expert level and a user needs to inherit from IndexWriter to use it. I don't think today it's possible to simply inherit from IW to get the merge information because IW.merge is final, and there needs to be a way to know the merge was successful. > Callback for intercepting merging segments in IndexWriter > --------------------------------------------------------- > > Key: LUCENE-1584 > URL: https://issues.apache.org/jira/browse/LUCENE-1584 > Project: Lucene - Java > Issue Type: Improvement > Components: Index > Affects Versions: 2.4.1 > Reporter: Jason Rutherglen > Priority: Minor > Attachments: LUCENE-1584.patch > > Original Estimate: 96h > Remaining Estimate: 96h > > For things like merging field caches or bitsets, it's useful to > know which segments were merged to create a new segment. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org