[ https://issues.apache.org/jira/browse/LUCENE-847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless updated LUCENE-847: -------------------------------------- Attachment: LUCENE-847.take4.patch OK new patch: - Added the missing MergePolicy.java from last time that Ning caught (thanks!) - Fixed some javadocs - Relaxed synchronization of merging so that merges can run concurrently with flushing if you are using multiple thread to do indexing. This gains concurrency of merging even if you are not using CMPW. But I left flushing as synchronized; I think we can relax this at some point in the future. - Fixed some concurrency issues - Added "minMergeDocs" to LogDocMergePolicy and "minMergeMB" to LogByteSizeMergePolicy; set their defaults as described in LUCENE-845. Still a few small things to do. I think it's getting close. > Factor merge policy out of IndexWriter > -------------------------------------- > > Key: LUCENE-847 > URL: https://issues.apache.org/jira/browse/LUCENE-847 > Project: Lucene - Java > Issue Type: Improvement > Components: Index > Reporter: Steven Parkes > Assignee: Steven Parkes > Fix For: 2.3 > > Attachments: concurrentMerge.patch, LUCENE-847.patch.txt, > LUCENE-847.patch.txt, LUCENE-847.take3.patch, LUCENE-847.take4.patch, > LUCENE-847.txt > > > If we factor the merge policy out of IndexWriter, we can make it pluggable, > making it possible for apps to choose a custom merge policy and for easier > experimenting with merge policy variants. -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]