lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrien Grand (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (LUCENE-4399) Rename AppendingCodec to Appending40Codec
Date Mon, 17 Sep 2012 15:55:07 GMT

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

Adrien Grand reopened LUCENE-4399:
----------------------------------


bq. which is in my mind, a lesser evil than conditionals inside one "mega-impl" like before

Agreed.

bq. As far as alternative things in codecs/, I feel it would be best to not add complication
for back-compat, instead to try to keep these implementations simple.

I think we should do our best so that backwards-compatiblity issues in lucene-codecs don't
happen because of changes in the default Lucene codec or postings format.

For example, if we release a new Lucene43PostingsFormat, we will either need to create a new
Pulsing43PostingsFormat (to maintain backwards compatibility) or just replace the current
Pulsing40PostingsFormat with Pulsing43PostingsFormat (if we don't care).

Maybe we could remove Pulsing40PostingsFormat and modify PulsingPostingsFormat so that it:
 - wraps the current default postings format by default,
 - writes the wrapped format name at indexing/merge time,
 - and then uses it back at read time (similarly to what BloomFilter does).

The only modification required if we release a new Lucene43PostingsFormat will be to change
the default wrapped postings format.

I think we should be able to do this with AppendingCodec and DirectPostingsFormat too.
                
> Rename AppendingCodec to Appending40Codec
> -----------------------------------------
>
>                 Key: LUCENE-4399
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4399
>             Project: Lucene - Core
>          Issue Type: New Feature
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Minor
>             Fix For: 4.0
>
>
> In order AppendingCodec to follow Lucene codecs version, I think its name should include
a version number (so that, for example, if we get to releave Lucene 4.3 with a new Lucene43Codec,
there will also be a new Appending43Codec).

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


Mime
View raw message