Various small improvements to contrib/benchmark -----------------------------------------------
Key: LUCENE-1139 URL: https://issues.apache.org/jira/browse/LUCENE-1139 Project: Lucene - Java Issue Type: Improvement Components: contrib/benchmark Reporter: Michael McCandless Assignee: Michael McCandless Priority: Minor Fix For: 2.4 Attachments: LUCENE-1139.patch I've worked out a few small improvements to contrib/benchmark: * Refactored the common code in Open/CreateIndexTask that sets the configuration for the IndexWriter. This also fixes a bug in OpenIndexTasks that prevented you from disabling flushing by RAM. * Added a new config property for LineDocMaker: doc.reuse.fields=true|false which turns on/off reusing of Field/Document by LineDocMaker. This lets us measure performance impact of sharing Field/Document vs not, and also turn it off when necessary (eg if you have your own consumer that uses private threads). * Added merge.scheduler & merge.policy config options. * Added param for OptimizeTask, which expects an int and calls optimize(maxNumSegments) with that param. * Added param for CloseIndex(true|false) -- if you pass false that means close the index, aborting any running merges -- 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]