lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (Updated) (JIRA)" <>
Subject [jira] [Updated] (LUCENE-3517) Fix pulsingcodec to reuse its enums
Date Fri, 14 Oct 2011 16:40:12 GMT


Robert Muir updated LUCENE-3517:

    Attachment: LUCENE-3517.patch

ok, i think clear() and copyTo() should be no-ops here.

if someone wraps their custom enum with pulsing, they might have a per-doc attribute and we
don't want them clearing away the reuse information.

it also makes no sense to copy this reuse stuff to another docsenum.
> Fix pulsingcodec to reuse its enums
> -----------------------------------
>                 Key: LUCENE-3517
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>         Attachments: LUCENE-3517.patch, LUCENE-3517.patch, LUCENE-3517.patch
> PulsingCodec currently doesnt always reuse its enums, which could lead to behavior like
> The problem is sometimes it returns the 'wrapped' enum, but other times it returns its
'pulsingenum' depending upon
> whether terms are pulsed...
> we can use the fact that these enums allow attributes to keep the reuse information for
both so it can reuse when stepping through terms.

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