[
https://issues.apache.org/jira/browse/LUCENE-743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12532585
]
Michael Busch commented on LUCENE-743:
--------------------------------------
I ran new performance tests with the latest patch similar to the tests I
explained in an earlier comment on this issue.
I'm using again a 4.5M index. In each round I delete one document and (re)open
the IndexReader thereafter. Here are the numbers for 5000 rounds:
|| || Time || Speedup ||
| open | 703s | |
| reopen(closeOldReader==false) | 62s | 11x |
| reopen(closeOldReader==true) |16s | 44x |
Now in each round I delete on document and also set the norm for one random
document. Numbers for 1000 rounds:
|| || Time || Speedup ||
| open | 166s | |
| reopen(closeOldReader==false) | 33s | 5.0x |
| reopen(closeOldReader==true) | 29s | 5.7x |
I think these numbers look pretty good. We get a quite decent speedup even if
the old readers are not closed.
I would like to commit this in a couple of days to get ready for Lucene 2.3. It
would be nice if someone could review the latest patch! Hoss? Others?
> IndexReader.reopen()
> --------------------
>
> Key: LUCENE-743
> URL: https://issues.apache.org/jira/browse/LUCENE-743
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Index
> Reporter: Otis Gospodnetic
> Assignee: Michael Busch
> Priority: Minor
> Fix For: 2.3
>
> Attachments: IndexReaderUtils.java, lucene-743-take2.patch,
> lucene-743.patch, lucene-743.patch, lucene-743.patch, MyMultiReader.java,
> MySegmentReader.java
>
>
> This is Robert Engels' implementation of IndexReader.reopen() functionality,
> as a set of 3 new classes (this was easier for him to implement, but should
> probably be folded into the core, if this looks good).
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]