incubator-lucy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marvin Humphrey (JIRA)" <>
Subject [jira] Updated: (LUCY-81) Object serialization
Date Thu, 03 Dec 2009 04:58:20 GMT


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:
>             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.

View raw message