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



yes, we decided to use 32 bit integer as an object-id due to resource-constrained environment, but if i add a predicate for this purpose then i think i'll have to modify each & every extractor available in tracker to insert/query this custom object-id?


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

I'm not totally sure I understand your message... Do you need 32 bit
integers, or are you saying that Tracker's uuids are not robust enough
?
Tracker urn are of the form
"urn:uuid:3a5fa030-02b7-79e8-1b2c-7465a946871a",
which is more than 32 bits if I'm right. If you need a 32 bit integer
identifier, then you can add a predicate to the resources you need to
share, with the 32 bit integer inside.

Cheers

Adrien


On Sat, 22 May 2010 07:24:44 -0700 (PDT), Remo Remo
<remo rremo yahoo com> 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..
>
> -------------------------
> FROM: Adrien Bustany
> TO: Remo Remo
> 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
> 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
>

>
> Links:
> ------
> [1] mailto:remo rremo yahoo com




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