You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucy.apache.org by "Marvin Humphrey (JIRA)" <ji...@apache.org> on 2009/12/03 05:58:20 UTC

[jira] Updated: (LUCY-81) Object serialization

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

Marvin Humphrey updated LUCY-81:
--------------------------------

    Attachment: obj_serialize.diff

Intuitively, Obj_Serialize and Obj_Deserialize seems as though they should be
an abstract methods.  However, it is convenient if direct subclasses of Obj
from the host language are able to call super methods to perform simple
serialization, so a basic implementation is provided.


> Object serialization
> --------------------
>
>                 Key: LUCY-81
>                 URL: https://issues.apache.org/jira/browse/LUCY-81
>             Project: Lucy
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Marvin Humphrey
>            Assignee: Marvin Humphrey
>         Attachments: obj_serialize.diff
>
>
> Objects are serialized to OutStreams and deserialized from InStreams.  Hooks
> are provided for the Perl core serialization module Storable, so that e.g.
> Storable::freeze($query) works as expected; hopefully it will prove practical
> to hook into canonical serialization routines for other hosts as well.
> The primary utility for serialization is communication between machines within
> search clusters, so all classes that may need to be sent across the network
> will eventually get serialization routines.  However, only Lucy installations
> with exactly the same version can be guaranteed to serialize and deserialize
> each others data; rolling updates are not supported.

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