[ 
https://issues.apache.org/jira/browse/LUCENE-1473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12653972#action_12653972
 ] 

Doug Cutting commented on LUCENE-1473:
--------------------------------------

> I guarantee 2.9 and above classes will be backward compatible with the 
> previous classes.

It sounds like you are personally guaranteeing that all serializeable classes 
will be forever compatible.  That's not what we'd need.  We'd need a proposed 
policy for the project to consider in terms of major and minor releases, 
specifying forward and/or backward compatibility guarantees.  For example, we 
might say, "within a major release cycle, serialized queries from older 
releases will work with newer releases, however serialized queries from newer 
releases will not generally work with older releases, since we might add new 
kinds of queries in the course of a major release cycle".  Similarly detailed 
statements would need to be made for each Externalizeable, no?

> Implement standard Serialization across Lucene versions
> -------------------------------------------------------
>
>                 Key: LUCENE-1473
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1473
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Search
>    Affects Versions: 2.4
>            Reporter: Jason Rutherglen
>            Priority: Minor
>         Attachments: LUCENE-1473.patch, LUCENE-1473.patch, LUCENE-1473.patch
>
>   Original Estimate: 8h
>  Remaining Estimate: 8h
>
> To maintain serialization compatibility between Lucene versions, 
> serialVersionUID needs to be added to classes that implement 
> java.io.Serializable.  java.io.Externalizable may be implemented in classes 
> for faster performance.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to