simple search api (was Re: mimetype standardisation by testsets)

Mikkel Kamstrup Erlandsen mikkel.kamstrup at
Tue Jan 2 13:51:40 EET 2007

2007/1/1, Thiago Macieira <thiago at>:
> Mikkel Kamstrup Erlandsen wrote:
> >Currently the live interface proposed in
> > has the three
> >signals Query.{HitsAdded, HitsRemoved, HitsModified}. The argument
> >passed along the HitsModified signal is a a{sa{sas}} (a map of
> >uri->{prop1->[vals], prop2->[vals],...}). Since the map keys are uris
> >it is not possible to fire a HitsModified if a file is moved.
> >
> >If we don't want to take the HitsRemoved(file) HitsAdded(file) road
> >when moving files, we'd have to rely on another key for the file.
> How about a HitsRenamed?

My intention was to keep the number of signals to a minimum. If URI is
just a metadata property of a hit, we can use the HitsModified signal.


More information about the xdg mailing list