lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grant Ingersoll (JIRA)" <j...@apache.org>
Subject [jira] Closed: (LUCENE-1027) contrib/benchmark config does not play nice with doubles with the flush.by.ram value
Date Mon, 15 Oct 2007 15:21:50 GMT

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

Grant Ingersoll closed LUCENE-1027.
-----------------------------------

    Lucene Fields:   (was: [New])

> contrib/benchmark config does not play nice with doubles with the flush.by.ram value
> ------------------------------------------------------------------------------------
>
>                 Key: LUCENE-1027
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1027
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/benchmark
>            Reporter: Grant Ingersoll
>            Assignee: Grant Ingersoll
>            Priority: Minor
>         Attachments: LUCENE-1027.patch
>
>
> In the o.a.l.benchmark.byTask.utils.Config.java file, the nextRound and various other
methods do not handle doubles in the "round" property configuration syntax.
> To replicate this, copy the micro-standard.alg and replace 
> merge.factor=mrg:10:100:10:100
> max.buffered=buf:10:10:100:100
> with
> ram.flush.mb=ram:32:40:48:56
> and you will get various ClassCastExceptions in Config (one in newRound() and, when that
is fixed, in getColsValuesForValsByRound.
> The fix seems to be to just to mirror the handling of int[].
> The fix seems relatively minor.  Patch shortly and will plan to commit tomorrow evening.

-- 
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


Mime
View raw message