lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doron Cohen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-1209) If setConfig(Config config) is called in resetInputs(), you can turn term vectors off and on by round
Date Sun, 09 Mar 2008 16:31:46 GMT

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

Doron Cohen updated LUCENE-1209:
--------------------------------

    Attachment: reset_config.patch

QualityTest fails with previous patch, exposing a related bug in ReutersDocMaker,
of not reseting files list at call to setConfig(), Was not required before, but now since
setConfig is called more than once must clear the list of collected files.
Attached file fixes this and all benchmark tests pass.

> If setConfig(Config config) is called in resetInputs(), you can turn term vectors off
and on by round
> -----------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-1209
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1209
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: contrib/benchmark
>    Affects Versions: 2.4
>            Reporter: Mark Miller
>            Assignee: Doron Cohen
>            Priority: Trivial
>         Attachments: reset_config.patch, reset_config.patch, reset_config.patch
>
>
> I want to be able to run one benchmark that tests things using term vectors and not using
term vectors.
> Currently this is not easy because you cannot specify term vectors per round.
> While you do have to create a new index per round, this automation is preferable to me
in comparison to running two separate tests.
> If it doesn't affect anything else, it would be great to have setConfig(Config config)
called in BasicDocMaker.resetInputs(). This would keep the term vector options up to date
per round if you reset.
> - Mark

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