[ https://issues.apache.org/jira/browse/LUCENE-1539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Rutherglen updated LUCENE-1539: ------------------------------------- Attachment: LUCENE-1539.patch Above mentioned issues fixed. It seems a bit awkward that DeleteByPercentTask needs to call IR.undeleteAll before executing the deletes. Also that subsequent delete by percent calls in deletepercent.alg need to open the latest version of the index rather than the original (which does not have deletes). This is due to DirectoryIndexReader.acquireWriteLock checking to insure the latest version of the index is locked. Perhaps we can relax this? I would rather be able to open a commit point and delete from the reader, then flush as the latest version. Perhaps in flexible indexing we can have more customizability with the versioning? > Improve Benchmark > ----------------- > > Key: LUCENE-1539 > URL: https://issues.apache.org/jira/browse/LUCENE-1539 > 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, sortBench2.py, sortCollate2.py > > 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: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org