[ https://issues.apache.org/jira/browse/LUCENE-3515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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 again. 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: https://issues.apache.org/jira/browse/LUCENE-3515 > 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, TestGenerationTime.java.3x, > TestGenerationTime.java.40, 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org