2006/12/24, Jamie McCracken <[EMAIL PROTECTED]>:
Edward Duffy wrote: > Congrats on getting another release out the door (and so close to > Christmas)! > > On 12/23/06, Jamie McCracken <[EMAIL PROTECTED]> wrote: >> * New improved metadata engine now sports multiple values per metadata >> item and rdf style recursive metadata relationships > > How does this work? I poked around tracker-extract, > tracker-metadata.c, tackerd.c, and tracker-db.c and they are all using > a GHashTable to store metadata. Nothing really jumped out as being > all that different. > > The main stuff will be "Email:SentTo", "Email:CC" etc which needs to support multiple values. The metadata extraction, which I will work on over XMAS, will need to delimit multiple values with semicolons which will then be aplit up and stored in separate rows in the DB. So yeah they will need modifying slightly.
Does this mean that ;s will have to be escaped in the return values? The changes that I have made are to the DB structure, metadata names,
metadata properties and the search mechanisms (rdf query and keywords). I have also changed keywords to use the new metadata db directly and the auto tagging is no longer needed as "Doc:Keywords" and "Image:Keywords" are now children of type "DC:Keywords" so any search for a keyword (either directly or in rdf query) will automatically search DC:Keywords and all its children. (its open ended so more types can be declared as a child of DC:Keywords and get searched automatically too).
This sounds really cool. One of my friends inquired me asking me if I knew about any tool that could do hierarchial tags. Fx. consider the following tag hierarchy: hacking |--search |--desktop-desktop |--gnome if i tag the file tracker.c with "desktop-search" and search my tags for "hacking", tracker.c will show up in the results... Merry XMas everybody! Cheers, Mikkel
_______________________________________________ tracker-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/tracker-list
