Re: [Tracker] Does tracker support uniquie object-id across databases



On Sat, 2010-05-22 at 07:24 -0700, Remo Remo wrote:
i thought object-id is 32 bit integer, and not uuid, if this is not
the case, then i fear i won't be able 2 use the tracker, i hope
there's some solution.. do we able to internally customize the unique
tag/object-id for each metadata stored in database.. and if it is
possible, then what are the modules i need to customize to suit in our
environment..

We recently added the tracker:id() function for this purpose. It's not
part of any RDF or SPARQL spec and completely custom / specialized for
Tracker use. So if you do use this, your queries aren't compatible with
any other SPARQL or RDF product.

It's so new that we have not documented it yet, it's also not available
in any release yet (afaik).

Cheers,

Philip


______________________________________________________________________
From: Adrien Bustany <abustany gnome org>
To: Remo Remo <remo rremo yahoo com>
Cc: tracker-list gnome org
Sent: Sat, May 22, 2010 7:07:54 PM
Subject: Re: [Tracker] Does tracker support uniquie object-id across
databases

On Sat, 22 May 2010 00:18:47 -0700 (PDT), Remo Remo
<remo rremo yahoo com>
wrote:
Hi,

does tracker support assigning unique object-id for each piece of
metadata across databases. 
For e.g. if id: 123 is assigned to Artist: "Enrique" then this ID
should
not be present in other tables/databases that tracker is
maintaining.
This will be helpful features by bookmarking through object-Id.

Regards,
Remo

Tracker does use uuid to generate urns if I'm right, so they should be
more
or less unique across databases... Needs confirmation though.

Cheers

Adrien



_______________________________________________
tracker-list mailing list
tracker-list gnome org
http://mail.gnome.org/mailman/listinfo/tracker-list

-- 


Philip Van Hoof
freelance software developer
Codeminded BVBA - http://codeminded.be




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]