[
https://issues.apache.org/jira/browse/LUCENE-4558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13498141#comment-13498141
]
Robert Muir commented on LUCENE-4558:
-------------------------------------
{quote}
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?)
{quote}
duh :) Thats a great plan for handling the too-old exception on the codec side!
> Make CompressingStoredFieldsFormat more flexible
> ------------------------------------------------
>
> Key: LUCENE-4558
> URL: https://issues.apache.org/jira/browse/LUCENE-4558
> 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: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]