lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shai Erera (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-1774) In a benchmark alg, if you use a log.step thats higher than the number of docs you add, whacky high numbers are logged for doc adds
Date Sun, 02 Aug 2009 18:27:14 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-1774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12738109#action_12738109
] 

Shai Erera commented on LUCENE-1774:
------------------------------------

That is indeed new (I added it in LUCENE-1595 as part of the general refactoring). Now PerfTask
includes logging logic, determined by log.step. It means that one log.step controls all tasks,
which I'm not sure if it's good or not (doc.delete.log.step controls just deletes because
it seemed to be used by several algs).

Maybe, as part of this issue or another issue, we can have PerfTask support a parameter, which
will be the log.step? That way you can choose to AddDocTask(100), and SearchTask(-1) to enable
logging for adding docs and disable for search. Though that will conflict w/ the other parameter
AddDocTask supports (document size). So perhaps we can enhance the parameters to accept a
list? Just a thought.

> In a benchmark alg, if you use a log.step thats higher than the number of docs you add,
whacky high numbers are logged for doc adds
> -----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-1774
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1774
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/benchmark
>            Reporter: Mark Miller
>            Priority: Trivial
>


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