lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] [Commented] (LUCENE-4558) Make CompressingStoredFieldsFormat more flexible
Date Thu, 15 Nov 2012 17:08:12 GMT


Robert Muir commented on LUCENE-4558:

Why would we need hacks? Wouldn't it be sufficient to register Lucene40 and Lucene41 with
a codec impl whose *writers would throw UnsupportedOperationException and *readers would throw
IndexFormatTooOldException? (or is it a hack to you?)

duh :) Thats a great plan for handling the too-old exception on the codec side!
> Make CompressingStoredFieldsFormat more flexible
> ------------------------------------------------
>                 Key: LUCENE-4558
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Minor
>         Attachments: LUCENE-4558.patch
> My plan consists in making CompressionMode an abstract class instead of an enum and having
different codec names per CompressionMode. I think this has two main benefits:
>  - it makes Lucene41StoredFieldsFormat cleaner (no need to write a CompressionMode id),
>  - it allows for custom CompressionModes.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message