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

Adam Lofts adam.lofts at gmail.com
Tue Nov 28 16:17:53 EET 2006


Hi,

On 28/11/06, Magnus Bergman <magnus.bergman at observer.net> wrote:

> Is it only realistic
> that users would want (or should be able) to do such simple searches? I
> think it's realistic to imagine that there can be different search
> engines which are good at different things. Perhaps one is good at
> finding media files by their tags. One that is good at finding relevant
> information from fuzzy terms.


The multiple search engine problem seems to be the perfect use case for dbus
naming. Each search engine registers a well known unique name e.g. "
org.novel.Beagle.simple"  and tries to own "org.freedesktop.search.simple".

Thus if I want to be picky about who to query I ask for the engine specific
name, and if I don't care (surely the common case) I ask for the well known
name. Wrapping a library around this would be fine, but the main point of
the spec needs to be defining this interface ("search.simple") and getting
everyone to implement it.

On 28/11/06, Magnus Bergman <magnus.bergman at observer.net> wrote:

> At least I see it there has to be some kind of daemon if there is a
> dbus interface.


Use dbus activation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/xdg/attachments/20061128/a2850a3f/attachment.htm 


More information about the xdg mailing list