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/16 12:36:05 UTC

[jira] [Updated] (LUCENE-5828) Improve BufferedIndexInput.SlicedIndexInput to directly delegate

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

Uwe Schindler updated LUCENE-5828:
----------------------------------

    Attachment: LUCENE-5828.patch

Patch.

> Improve BufferedIndexInput.SlicedIndexInput to directly delegate
> ----------------------------------------------------------------
>
>                 Key: LUCENE-5828
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5828
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Uwe Schindler
>            Assignee: Uwe Schindler
>         Attachments: LUCENE-5828.patch
>
>
> Currently we have some IndexInputs which do not have a separate slice() implementation. Those are using BufferedIndexInput#wrap(), which extends BufferedInputStream. This is nonsense, because the underlying IndexInput is in most cases already Buffered, and if not, its not needed.
> This issue will change SlicedIndexInput to directly delegate, correcting offsets. The new class SlicedIndexInput will be top level and public.



--
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