lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <>
Subject [jira] Commented: (LUCENE-1539) Improve Benchmark
Date Fri, 24 Apr 2009 16:52:30 GMT


Michael McCandless commented on LUCENE-1539:

Yeah? Ok. So the deleteDocsByPercent method needs to somehow
take into account whether it's deleted before by adjusting the
doc nums it's deleting?

How about randomly choosing docs to delete instead of every N?  Then
you don't need to keep track?

> I don't think we can relax that. This (single transaction
> (writer) open at once) is a core assumption in Lucene.

True, however doesn't mean we have to stick with it, especially
internally. Hopefully we can move to a more componentized model
someone could change this if they wanted. Perhaps in the
flexible indexing revamp

We'd need to figure out how to get multiple writers to properly
"cooperate".  Actually Marvin is working on something like this (for
KS/Lucy), where one "lightweight" writer can do adds/deletes/small
merges, and a separate "heavyweight" writer does large merges.

> Improve Benchmark
> -----------------
>                 Key: LUCENE-1539
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: contrib/benchmark
>    Affects Versions: 2.4
>            Reporter: Jason Rutherglen
>            Assignee: Michael McCandless
>            Priority: Minor
>             Fix For: 2.9
>         Attachments: LUCENE-1539.patch, LUCENE-1539.patch, LUCENE-1539.patch, LUCENE-1539.patch,,
>   Original Estimate: 336h
>  Remaining Estimate: 336h
> Benchmark can be improved by incorporating recent suggestions posted
> on java-dev. M. McCandless' Python scripts that execute multiple
> rounds of tests can either be incorporated into the codebase or
> converted to Java.

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:
For additional commands, e-mail:

View raw message