Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-Dev
[jira] Commented: (LUCENE-743) IndexReader.reopen()
 

Index | Next | Previous | View Flat


jira at apache

Oct 5, 2007, 12:42 AM


Views: 1116
Permalink
[jira] Commented: (LUCENE-743) IndexReader.reopen()

[ 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: java-dev-unsubscribe[at]lucene.apache.org
For additional commands, e-mail: java-dev-help[at]lucene.apache.org

Subject User Time
[jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 5, 2007, 12:42 AM
    [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 5, 2007, 5:59 PM
        [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 19, 2007, 2:50 PM
            [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Nov 2, 2007, 7:10 AM
                [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Nov 15, 2007, 6:24 AM
                [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Nov 15, 2007, 7:03 AM
            [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Nov 2, 2007, 7:38 AM
            [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Nov 2, 2007, 7:43 AM
            [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Nov 2, 2007, 7:47 AM
            [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Nov 2, 2007, 7:57 AM
            [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Nov 2, 2007, 8:08 AM
            [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Nov 2, 2007, 9:33 AM
            [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Nov 2, 2007, 10:01 AM
    [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 5, 2007, 8:45 PM
    [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 5, 2007, 9:24 PM
    [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 5, 2007, 10:38 PM
        Re: [jira] Commented: (LUCENE-743) IndexReader.reopen() raviram at students Oct 5, 2007, 11:27 PM
    [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 5, 2007, 11:56 PM
    [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 6, 2007, 6:27 AM
        [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 20, 2007, 2:09 AM
        [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 20, 2007, 2:46 AM
        [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 20, 2007, 3:45 AM
        [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 20, 2007, 4:06 AM
    [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 6, 2007, 7:16 AM
    [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 6, 2007, 7:29 AM
    [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 7, 2007, 11:23 AM
    [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 7, 2007, 1:09 PM
    [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 8, 2007, 10:57 AM
    [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 8, 2007, 11:45 AM
    [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 8, 2007, 2:43 PM
        [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 22, 2007, 12:36 PM
        [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 22, 2007, 1:37 PM
        [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 22, 2007, 2:36 PM
    [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 8, 2007, 3:15 PM
        [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 22, 2007, 2:55 PM
    [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 11, 2007, 11:43 AM
        [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 22, 2007, 4:08 PM
        [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 22, 2007, 4:31 PM
    [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 16, 2007, 1:34 PM
        [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 30, 2007, 1:56 AM
            [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Nov 12, 2007, 1:35 PM
                Re: [jira] Commented: (LUCENE-743) IndexReader.reopen() rengels at ix Nov 12, 2007, 1:43 PM
                    Re: [jira] Commented: (LUCENE-743) IndexReader.reopen() yonik at apache Nov 12, 2007, 1:47 PM
            [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Nov 12, 2007, 4:14 PM
        [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 30, 2007, 4:42 AM
    [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 16, 2007, 1:52 PM
    [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 16, 2007, 2:25 PM
    [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 16, 2007, 2:34 PM
    [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 16, 2007, 2:40 PM
    [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 16, 2007, 3:29 PM
    [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 17, 2007, 11:36 AM
        [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 31, 2007, 11:05 AM
            [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Nov 13, 2007, 11:18 AM
            [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Nov 13, 2007, 11:54 AM
            [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Nov 13, 2007, 10:02 PM
            [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Nov 13, 2007, 10:05 PM
            [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Nov 14, 2007, 2:11 AM
            [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Nov 14, 2007, 3:01 AM
            [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Nov 14, 2007, 5:50 AM
            [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Nov 14, 2007, 7:57 AM
    [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 17, 2007, 2:02 PM
    [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 17, 2007, 2:23 PM
    [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 18, 2007, 9:55 AM
        [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 31, 2007, 3:57 PM
        [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 31, 2007, 3:57 PM
        [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Nov 1, 2007, 6:12 AM
    [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 18, 2007, 12:49 PM
    [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 18, 2007, 1:04 PM
    [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 18, 2007, 1:35 PM
    [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 18, 2007, 1:45 PM
    [jira] Commented: (LUCENE-743) IndexReader.reopen() jira at apache Oct 18, 2007, 2:53 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.