You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (Updated) (JIRA)" <ji...@apache.org> on 2011/11/06 21:03:51 UTC

[jira] [Updated] (LUCENE-3524) Add "direct" PackedInts.Reader impl, that reads directly from disk on each get

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

Michael McCandless updated LUCENE-3524:
---------------------------------------

    Attachment: LUCENE-3524.patch

Patch, removing the RandomAccessReaderIterator and switching
PackedInts.getDirectReader to returning a PackedInts.Reader.

At first I added "throws IOException" to PackedInts.Reader.get, but
this very quickly got out of hand -- many methods up the stack needing
to throw IOE.  So, instead, I wrap the IOE in an unchecked
IllegalStateException (like the DocValues impls were doing).

                
> Add "direct" PackedInts.Reader impl, that reads directly from disk on each get
> ------------------------------------------------------------------------------
>
>                 Key: LUCENE-3524
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3524
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>         Attachments: LUCENE-3524.patch
>
>
> Spinoff from LUCENE-3518.
> If we had a direct PackedInts.Reader impl we could use that instead of
> the RandomAccessReaderIterator.

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