Re: Proposing Tracker for inclusion into GNOME 2.18



2006/10/25, Ross Burton <ross burtonini com>:
On Wed, 2006-10-25 at 11:41 +0100, Jamie McCracken wrote:
> > I'm thinking of decent genre support, so multiple genre tags per song
> > (as supported in Ogg).  If a song has Song.Genre="Post Rock,Ambient" and
> > I search for "rock", will the substring search incorrectly match the
> > song?
>
> Yes it will unfortunately - hopefully these corner cases wont be too common

I had a look at Beagle to see what it does.  It allows the index to
store multiple data items for each keyword.  For example from the email
filter:

using (GMime.InternetAddressList addrs = this.message.GetRecipients (GMime.RecipientType.To)) {
        foreach (GMime.InternetAddress ia in addrs)
                AddProperty (Property.NewKeyword ("fixme:to", ia.ToString ());
        }
}

What we need is a way to specify the types of metadata fields. This
would allow us to generate optimal storage from that definition and
would also help building queries and sorting of results. E.g. a
property 'widthInPixels' would have the type 'xs:int' (I think using
the subset of XML Schema that can be mapped to DBus would a sensible
choice of allowed types).
The spec would assign such a type to URIs that specify the metatype field name.

Note how each person listed in the To: field of the email is added to
the index as a separate entry, so that searches like "receipient ends
with foo.com" would work correctly.  The same feature would allow
multiple artists per song and so on.

I do wonder why nobody has taken a fast database-backed RDF triple store
(from librdf), put a sparql-based frontend on it for queries (again from
librdf) and used re-used a lot of code from both Beagle and Tracker for
harvesting the metadata...

Currently there's a flurry of development going on on just that. It's
lead by Sebastian Trues, who's sponsored by Mandrake.

Check it out:
http://websvn.kde.org/trunk/playground/base/qrdf/
http://websvn.kde.org/branches/work/nepomuk-kde/


Ross
--
Ross Burton                                 mail: ross burtonini com
                                          jabber: ross burtonini com
                                     www: http://www.burtonini.com./
 PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF



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






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