Journal metadata - buddies as a string?

Eben Eliason eben.eliason at gmail.com
Tue Jul 15 10:53:29 EDT 2008


Please see: http://dev.laptop.org/ticket/4755#comment:5

- Eben


On Tue, Jul 15, 2008 at 5:08 AM, Tomeu Vizoso <tomeu at tomeuvizoso.net> wrote:

> On Mon, Jul 14, 2008 at 7:14 AM, Martin Langhoff
> <martin.langhoff at gmail.com> wrote:
> > Looking at the .metadata files that the Journal now maintains, I find
> > that the buddies field is a string that stores a multidimensional
> > array... is this a bug? Or perhaps Xapian cannot sture md arrays?
> > Either way, looks like either a big or an artifact from the '90s to me
> > :-)
> >
> > All I care to know is whether this is expected and matches the internal
> APIs ...
>
> Hi, this is totally expected, you are seeing a JSON serialization of a
> dict. Xapian is a fulltext search engine, so we put strings in and get
> strings back.
>
> Anyway, the storage of buddies in the journal is lacking in many
> aspects. If we are able to devote significant resources to the DS
> during the next release, we may be able to do it properly. There's
> info in trac about it.
>
> Regards,
>
> Tomeu
> _______________________________________________
> Devel mailing list
> Devel at lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/devel/attachments/20080715/3ae9f526/attachment.html>


More information about the Devel mailing list