You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2008/01/18 14:44:35 UTC

[jira] Updated: (LUCENE-1139) Various small improvements to contrib/benchmark

     [ https://issues.apache.org/jira/browse/LUCENE-1139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael McCandless updated LUCENE-1139:
---------------------------------------

    Attachment: LUCENE-1139.patch

Attached patch.  All tests pass.  I plan to commit in a day or two...


> 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org