lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (Updated) (JIRA)" <>
Subject [jira] [Updated] (LUCENE-3515) Possible slowdown of indexing/merging on 3.x vs trunk
Date Thu, 13 Oct 2011 20:43:14 GMT


Michael McCandless updated LUCENE-3515:

    Attachment: LUCENE-3515.patch

Patch, fixing the lack of reuse in MultiTermsEnum (used during merging).

The lack of re-use meant we were cloning 2 IndexInputs (frq/prx) per term being merged!  For
NIOFSDir this then meant we would read the same 4K region of the file over and over and over

I added a test to catch "over-cloning", but, the test sometimes fails when it gets pulsing
codec because that codec does not properly reuse (a known issue that we should now fix!).
> Possible slowdown of indexing/merging on 3.x vs trunk
> -----------------------------------------------------
>                 Key: LUCENE-3515
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: core/index
>            Reporter: Michael McCandless
>             Fix For: 3.5, 4.0
>         Attachments: LUCENE-3515.patch, LUCENE-index-34.patch, LUCENE-index-40.patch,,, stdout-snow-leopard.tar.gz
> Opening an issue to pursue the possible slowdown Marc Sturlese uncovered.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message