lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-1473) Implement standard Serialization across Lucene versions
Date Thu, 04 Dec 2008 13:45:44 GMT

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

Michael McCandless commented on LUCENE-1473:
--------------------------------------------

bq. It seems best to remove Serialization from Lucene so that users are not confused and create
a better solution.

I don't think that's the case.  If we choose to only support "live serialization" then we
should add "implements Serializable" but spell out clearly in the javadocs that there is no
guarantee of cross-version compatibility ("long term persistence") and in fact that often
there are incompatibilities.

I think "live serialization" is still a useful feature.

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


Mime
View raw message