On 2 February 2012 12:49, Siegfried Gevatter <rai...@ubuntu.com> wrote:
> This doesn't need any changes in libzeitgeist, does it?
Not that I am aware of. It'll just be callers changing the strings
they pass for event/subject attributes. So no API changes.
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.
Add a way to query only a specific class - and NOT sub classes
Status in Zeitgeist Client Library:
Status in Zeitgeist Framework:
The problem is that nfo:FileDataObject (which we use as manifestation
for all files) has subclasses nfo:RemoteDataObject and
nfo:EmbeddedFileDataObject which we may not be interested in querying
for (at least, we're not in Unity). In Unity we qualify our queries by
restricting them to also have subject prefix "file:*".
Not only does this feel slightly hackish, but it is also slower since
the indexes are used less effectively. I propose adding a new modifier
"+" to the manifestation and interpretation (for both event and
subject) that signifies that the field must be matched exactly,
without subtype expansion.
matches also remote- and embedded objects, while prepending a "+"
forces the matching to be strict:
To manage notifications about this bug go to:
Mailing list: https://launchpad.net/~zeitgeist
Post to : firstname.lastname@example.org
Unsubscribe : https://launchpad.net/~zeitgeist
More help : https://help.launchpad.net/ListHelp