lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Willnauer (Commented) (JIRA)" <>
Subject [jira] [Commented] (LUCENE-3502) Packed ints: move .getArray into Reader API
Date Mon, 10 Oct 2011 13:15:29 GMT


Simon Willnauer commented on LUCENE-3502:

bq. I like the hasArray for API consistency with ByteBuffer etc too (same with Docvalues).
consistency is good and you might need a hasArray() for future docvalues impls or subclasses
that compute it?
> Packed ints: move .getArray into Reader API
> -------------------------------------------
>                 Key: LUCENE-3502
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 3.5, 4.0
>         Attachments: LUCENE-3502.patch
> This is a simple code cleanup... it's messy that a consumer of
> PackedInts.Reader must check whether the impl is Direct8/16/32/64 in
> order to get an array; it's better to move up the .getArray into the
> Reader interface and then make the DirectN impls package private.

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