You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2014/07/15 20:40:05 UTC

[jira] [Updated] (LUCENE-5681) Fix RAMDirectory's IndexInput to not double-buffer on slice()

     [ https://issues.apache.org/jira/browse/LUCENE-5681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Uwe Schindler updated LUCENE-5681:
----------------------------------

    Attachment: LUCENE-5681.patch

Patch, including new test.

The default impl is now only used by Solr anymore. We should fix this, too and remove the BufferedIndexInput.wrap() one completely.

> Fix RAMDirectory's IndexInput to not double-buffer on slice()
> -------------------------------------------------------------
>
>                 Key: LUCENE-5681
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5681
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/store
>            Reporter: Uwe Schindler
>             Fix For: 5.0
>
>         Attachments: LUCENE-5681.patch
>
>
> After LUCENE-4371, we still have a non-optimal implementation of IndexInput#slice() in RAMDirectory. We should fix that to use the cloning approach like other directories do



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org