Re: [Tracker] Searching metadata values explicitly
- From: Jamie McCracken <jamiemcc blueyonder co uk>
- To: Edward Duffy <eduffy gmail com>, Mikkel Kamstrup Erlandsen <mikkel kamstrup gmail com>
- Cc: Tracker List <tracker-list gnome org>
- Subject: Re: [Tracker] Searching metadata values explicitly
- Date: Sun, 14 Jan 2007 14:49:27 +0000
Edward Duffy wrote:
Here's a patch for tracker-search-tool that allows the user to
explicitly search certain metadata keys, ala Google.
For example, searching for "album:Global" will just search for
Audio:Album tags, instead of everything, for 'Global'. Currently, the
seach is case sensitive (any way to make rdf seraches
case-insensitive?).
um I need to make sure we store two copies of the data - one that is
utf-8 casefolded and utf-8 normalized for search purposes and the
original for display purposes.
I am not currently doing that for the extracted metadata but we have
facilities in the db for this so I will work on this shortly.
This patch includes support for key:
title --> DC:Title (this isn't working for Audio:Title)
format --> DC:Format
creator --> DC:Creator
keywords --> DC:Keywords
mime --> File:Mime (this isn't working, while `format` does)
path --> File:Path
ext --> File:Ext
artist --> Audio:Artist
album --> Audio:Album
track --> Audio:Title
subject --> Doc:Subject
author --> Doc:Author
I would like these in the dbus search interface so all apps can take
advantage of them. I also need to investigate why some of them are not
working.
As for the names, I am not sure what to use - maybe kamstrup can suggest
a common set for his WASABI stuff? (in the meantime we can use the above)
btw Could also do with a "tag" as well
--
Mr Jamie McCracken
http://jamiemcc.livejournal.com/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]